localizing.txt 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. =================
  2. Localizing Django
  3. =================
  4. Various parts of Django, such as the admin site and validation error messages,
  5. are internationalized. This means they display differently depending on each
  6. user's language or country. For this, Django uses the same internationalization
  7. and localization infrastructure available to Django applications, described in
  8. the :doc:`i18n documentation </topics/i18n/index>`.
  9. Translations
  10. ------------
  11. Translations are contributed by Django users worldwide. The translation work is
  12. coordinated at `Transifex`_.
  13. If you find an incorrect translation or want to discuss specific translations
  14. go to the `Django project page`_. If you would like to help out with
  15. translating or add a language that isn't yet translated, here's what to do:
  16. * Join the `Django i18n mailing list`_ and introduce yourself.
  17. * Make sure you read the notes about :ref:`specialties-of-django-i18n`.
  18. * Signup at `Transifex`_ and visit the `Django project page`_.
  19. * On the `Django project page`_, choose the language you want to work on,
  20. **or** -- in case the language doesn't exist yet --
  21. request a new language team by clicking on the "Request language" link
  22. and select the appropriate language.
  23. * Then, click the "Join this Team" button to become a member of this team.
  24. Every team has at least one coordinator who is responsible to review
  25. your membership request. You can of course also contact the team
  26. coordinator to clarify procedural problems and handle the actual
  27. translation process.
  28. * Once you are a member of a team choose the translation resource you
  29. want to update on the team page. For example the "core" resource refers
  30. to the translation catalogue that contains all non-contrib translations.
  31. Each of the contrib apps also have a resource (prefixed with "contrib").
  32. .. note::
  33. For more information about how to use Transifex, read the
  34. `Transifex User Guide`_.
  35. Formats
  36. -------
  37. You can also review ``conf/locale/<locale>/formats.py``. This file describes
  38. the date, time and numbers formatting particularities of your locale. See
  39. :ref:`format-localization` for details.
  40. The format files aren't managed by the use of Transifex. To change them, you
  41. must :doc:`create a patch<writing-code/submitting-patches>` against the
  42. Django source tree, as for any code change:
  43. * Create a diff against the current Subversion trunk.
  44. * Open a ticket in Django's ticket system, set its ``Component`` field to
  45. ``Translations``, and attach the patch to it.
  46. .. _Transifex: https://www.transifex.net/
  47. .. _Django i18n mailing list: http://groups.google.com/group/django-i18n/
  48. .. _Django project page: https://www.transifex.net/projects/p/django/
  49. .. _Transifex User Guide: http://help.transifex.net/