Skip to Content

develCuy's blog

by Fernando P. García


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 - 10. Read the manual http://drupal.org/handbooks

Blessings.


Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3> <h2> <hr> <sup> <i> <b> <pre>
  • Lines and paragraphs break automatically.

More information about formatting options