To reproduce the bug you have to enable Locale and Content Translation modules, add and enable another language and then create one page (give it the default language) and translate it in this language then set your default language node (the one you've just created) as the frontpage.

(Let's say the frontpage is node/1 and the translated frontpage is node/2 for my explaination below)

At the moment if you try to access the frontpage (http://www.yourdomain.com) it leads to the default language as expected (or the language set in the options of the browser, etc ... according to what you've set in the Language settings). But the links (translation node link and Language Switcher) are pointing to the translated page aren't looking as a a frontpage link anymore, the link point to the node URL ($lang/node/$nid) instead of something like "$lang/" only... That could be ok if it wouldn't do the exact same thing for the link to the default language (they point to "node/1" instead of just "/" or at very least "fr"). So it means there is two URL for the frontpage :S

With i18n module in 5.x it was possible to set an alias like "en/home" and "fr/home" for respectively english and french nodes and then set "home" as the frontpage but it doesn't work like this in Drupal 6.x.

For other nodes than the ones you want as frontpage the Content Translation module works fine as far as I can see... there's just a missing feature, the possibility to select an existing node as the translation of another node (but I guess this should be said in a feature resquest).

Finally, thanks for the great work on Drupal 6, that first beta looks promising, keep up the great work.

Comments

najibx’s picture

I found out the "$is_front" is not really working. I lost the "status" frontpage for non default language somehow. So I added $alias to check if it's a frontpage. It works for sometimes, but somehow it will lost it as well. Is there a better way to handle this ?

    $alias = drupal_get_path_alias($_GET['q']);
	if ($is_front || $alias =='ms/frontpage') { 

...... put something here if frontpage

} else {

.... otherwise put others

}

intu.cz’s picture

Title: Transalation of the frontpage » Translation of the frontpage

Typo in the Issue title.

dpearcefl’s picture

Status: Active » Postponed (maintainer needs more info)

Does this issue exist in current D6?

dpearcefl’s picture

Status: Postponed (maintainer needs more info) » Active
NROTC_Webmaster’s picture

Status: Active » Closed (cannot reproduce)

I'm guessing this can be closed.