Friday, March 2, 2012

Drupal: Multilingual- Translate Home Link Setting

About one week we try to translate Home link , but still have issue that both language appear together in main menu navigation. But today we just got idea to create the home link from the main page, insteed of using default front page setting.

How to do?
  1. Disable Home in main menu list link.
  2. Go to main page, let say page name: main  (in  URL path settings )
  3. Edit the page
  4. Go to English first  > Menu Settings  > Thick Provide a menu link
  5. Set  Menu link title: Home    and   Save.
  6. Go to Translate to Arabic page   >  Edit for Arabic language
  7. Menu Settings  > Thick Provide a menu link
  8. Set  Menu link title: الرئيسية   and   Save.
  9. Make sure URL path settings  > Set   Alias: welcome
  10. Refresh the site and check back the main menu navigation.
  11. The new Home menu will appear accordingly to your chosen language.
How to arrange Home menu to be the first in list?
  1. Go to Structure  >  Menus  >  Main Menu   >  List links
  2. You can arrange the weight or drag the link based on me menus priority rank.
  3. Thats it!
Good Luck.

0 comments:

Post a Comment