Weblog

Internationalization support!

It's been weeks in the making, and it's finally here: Outstanding internationalization support in Django.

Thanks to Hugo and a number of other community members, Django now has:

  • Full support for specifying translation strings -- both in Python code and in Django templates.
  • Full support for detecting users' language preferences and using the appropriate translation.
  • Support for 12 languages in validation messages, core Django models and the automatically created Django admin site.

This update is fully backwards-compatible.

We're grateful that translators have submitted translations for the following languages:

  • cs (Czech)
  • de (German)
  • en (English)
  • es (Spanish)
  • fr (French)
  • gl (Galician)
  • it (Italian)
  • no (Norwegian)
  • pt-br (Brazilian)
  • ru (Russian)
  • sr (Serbian)
  • zh-cn (Simplified Chinese)

To get started, just update your Django code and read the full internationalization docs.

If you want a quick flash of coolness, turn on the new LocaleMiddleware, change your browser's language settings to any of the other supported languages, and launch your Django admin site. Warning: Its coolness will blow your mind.

Posted by Adrian Holovaty on November 4, 2005