Drupal 6: Translatable primary and secondary links with i18n module


/ Published in: PHP
Save to your folder(s)

Put this in settings.php


Copy this code and paste it in your HTML
  1. /**
  2. * Multilingual settings
  3. *
  4. * This is a collection of variables that can be set up for each language when i18n is enabled.
  5. * These are the basic ones for Drupal core, but you can add your own here.
  6. */
  7. $conf['i18n_variables'] = array(
  8. // Site name, slogan, mission, etc..
  9. 'site_name',
  10. 'site_slogan',
  11. 'site_mission',
  12. 'site_footer',
  13. 'anonymous',
  14. // Different front page for each language
  15. 'site_frontpage',
  16. // Primary and secondary links
  17. 'menu_primary_links_source',
  18. 'menu_secondary_links_source',
  19. // Contact form information
  20. 'contact_form_information',
  21. );

URL: http://openflows.com/blog/mvc/2008/10/03/drupal-6-i18n-basics

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.