I am using i18n module and I have translated my content but I can't have a front page for each language.
Is it possible, but how?

Thanks!

CommentFileSizeAuthor
#9 english.png38.17 KBakalata
#9 french.png33.71 KBakalata

Comments

Roberto Gerola’s picture

Project: Localizer » Internationalization
Version: 5.x-3.x-dev » 5.x-2.x-dev

If you are using i18n module you should post your request on i18n's forum.

pgacv2’s picture

Version: 5.x-2.x-dev » 6.x-1.4

Bump? I seem to have the same issue, and my site is at http://www.fiestalinenrentals.com. My front page in English is set to node/5, and that node's translation is node/16. When I'm at my front page and I click on Spanish in the language switcher block, the URL path changes to http://www.fiestalinenrentals.com/es but the node's content itself remains in English. I'd like to hide the translation link at the bottom of the post, but that link *does* take me to the Spanish version of the node.

pgacv2’s picture

brucepearson’s picture

I'm not sure why this happens. A work around that should work is to set the url alias of each of your front pages to the same value. eg set the url alias to "home".

http://drupal-translation.com/content/setting-front-page-language

pgacv2’s picture

Category: support » feature
Priority: Critical » Normal

Beautiful, thank you! It would be nice if the "Default front page field" in admin/settings/site-information were localizable so this workaround wasn't necessary. Changing this to a feature request.

jose reyero’s picture

Status: Active » Closed (works as designed)
pgacv2’s picture

Ah, thanks for that. I didn't know so many things could be translated if you just add them to the multilingual variables array. The book page that deals specifically with this topic, for anyone else interested, is http://drupal.org/node/357248.

Marko B’s picture

You can't set 2 nodes to same alias, you get "The path is already in use." message, can somebody explain this please!!!

akalata’s picture

StatusFileSize
new33.71 KB
new38.17 KB

deepM, not when it's a translated node.

John Carbone’s picture

@deepM You can have two nodes with the same alias, but the aliases need to be for different languages. For example, /home for English can then point to node/6 (or whatever) and /home for Spanish can point to node/200. I'm using that idea on a site I'm working on now to keep all paths the same in all languages. Works great.