Skip to Content

develCuy's blog

by Fernando Paredes García


Internationalization

10 tips for multi-language Drupal sites

Do you want to keep your site multi-language friendly? Please follow this:

  1. Use t('text') instead of 'text'
  2. Enable Multilingual in your content types
  3. If your site uses English, do it with pure English first, then translate
  4. Avoid the use of HTML into strings as much as possible
  5. In CCK fields, use PHP code for Allowed values list, i.e.: return array(1=>t('text'), ...)
  6. Add the filter "Node Translation: Language" to your views
    7 - 10. Read the manual http://drupal.org/handbooks

Blessings.



Syndicate content