I am in the proses of creating my first multilingual Drupal 7 site.

www.lacdemontbel.com

I have managed to create a menu for each language and the respective translation for each page but I am unsure on the best way to modify the homepage into the different languages. To edit my current homepage I am simply editing the page.tlp.php file. (I am using the simplecorp theme)

So my question is, what is the best way to achieve this? I have tried to copy the page.tpl.php file but I am unsure how to specify the new copy as a particular node to be able to set it to be the French homepage. Or is there another way that I am missing?

Thanks in advance.

Comments

emena’s picture

Hello,

En français,

Pour les menus,

il faut un faire un pour chaque langue

Pour les titres

il faut ajouter des variables dans défault.php.

* Multilingual settings
*
* This is a collection of variables that can be set up for each language when
* internationalization (i18n) is enabled. These are the basic ones for Drupal
* core, but you can add your own here.
*/

$conf['i18n_variables'] = array(
  'site_name',
  'site_slogan',
  'site_mission',
  'site_footer',
  'anonymous',
  'menu_primary_menu',
  'menu_secondary_menu',
);

Puis, il faut aller dans la page information, une fois dans chaque langue pour indiquer les valeurs que tu souhaites.