Multilingual variables: a different homepage for each language in drupal

Posted by: 
Dominique De Cooman

When you enable the i18n module you'll probably want a different homepage for each language.
Put:

$conf['i18n_variables'] = array(
  'site_frontpage',
);

In your settings.php file (located in the sites/default folder)
When you go to en/admin/settings/site-information you set the url for your english homepage at 'default front page'. For example node/1
Now go to for example nl/admin/settings/site-information and set the url for your dutch homepage. For example node/2
If you go to /en you 'll end up on node/1 and when you go to /nl you 'll end up on node/2.

Add new comment

Who are you?


By knowing who you are you will be directed to a page where we have displayed all our drupal services relevant to your professional identity.