HowTo: Different home page (default front page) for each language

Last modified: February 6, 2009 - 15:01

When using Drupal + i18n if your site front page is a node listing, the content for each language will be selected depending on your settings for 'Language selection' (Administer > Languages > Configure > Multilingual system) so nothing else to do on this case.

When using a single node as the front page though, such node won't switch automatically depending on the browser language. For this case, when you want a different node to show up for each language as the home page you need to:

  • Add 'site_frontpage' to the list of multilingual variables.
  • Configure the 'Site front page' option for each language setting up the right node (translation) for each.
 
 

Drupal is a registered trademark of Dries Buytaert.