Posted By

aleprieto on 01/06/09


Tagged

module drupal block language i18n l10n localization


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

basicmagic
umang_nine
mbria


Drupal 6: Translatable primary and secondary links with i18n module


 / Published in: PHP
 

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

Put this in settings.php

  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. );

Report this snippet  

You need to login to post a comment.