localizing.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 :ref:`Django i18n mailing list <django-i18n-mailing-list>` and
  17. introduce yourself.
  18. * Make sure you read the notes about :ref:`specialties-of-django-i18n`.
  19. * Sign up at `Transifex`_ and visit the `Django project page`_.
  20. * On the `Django project page`_, choose the language you want to work on,
  21. **or** -- in case the language doesn't exist yet --
  22. request a new language team by clicking on the "Request language" link
  23. and selecting the appropriate language.
  24. * Then, click the "Join this Team" button to become a member of this team.
  25. Every team has at least one coordinator who is responsible to review
  26. your membership request. You can of course also contact the team
  27. coordinator to clarify procedural problems and handle the actual
  28. translation process.
  29. * Once you are a member of a team choose the translation resource you
  30. want to update on the team page. For example the "core" resource refers
  31. to the translation catalog that contains all non-contrib translations.
  32. Each of the contrib apps also have a resource (prefixed with "contrib").
  33. .. note::
  34. For more information about how to use Transifex, read the
  35. `Transifex User Guide`_.
  36. Translations from Transifex are only integrated into the Django repository at
  37. the time of a new :term:`feature release`. We try to update them a second time
  38. during one of the following :term:`patch release`\s, but that depends on the
  39. translation manager's availability. So don't miss the string freeze period
  40. (between the release candidate and the feature release) to take the opportunity
  41. to complete and fix the translations for your language!
  42. Formats
  43. -------
  44. You can also review ``conf/locale/<locale>/formats.py``. This file describes
  45. the date, time and numbers formatting particularities of your locale. See
  46. :ref:`format-localization` for details.
  47. The format files aren't managed by the use of Transifex. To change them, you
  48. must :doc:`create a patch<writing-code/submitting-patches>` against the
  49. Django source tree, as for any code change:
  50. * Create a diff against the current Git master branch.
  51. * Open a ticket in Django's ticket system, set its ``Component`` field to
  52. ``Translations``, and attach the patch to it.
  53. .. _Transifex: https://www.transifex.com/
  54. .. _Django project page: https://www.transifex.com/projects/p/django/
  55. .. _Transifex User Guide: http://support.transifex.com/
  56. .. _translating-documentation:
  57. Documentation
  58. -------------
  59. There is also an opportunity to translate the documentation, though this is a
  60. huge undertaking to complete entirely (you have been warned!). We use the same
  61. `Transifex tool <https://www.transifex.com/projects/p/django-docs/>`_. The
  62. translations will appear at ``https://docs.djangoproject.com/<language_code>/``
  63. when at least the ``docs/intro/*`` files are fully translated in your language.