You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

translation.rst 1.0KB

1234567891011121314151617181920212223242526272829303132
  1. .. spelling::
  2. Transifex
  3. ===========
  4. Translation
  5. ===========
  6. All Oscar translation work is done on Transifex_. If you'd like to contribute,
  7. just apply for a language and go ahead!
  8. The source strings in Transifex are updated after every commit on Oscar's
  9. master branch on GitHub. We only pull the translation strings back into Oscar's
  10. repository when preparing for a release. That means your most recent
  11. translations will always be on Transifex, not in the repository!
  12. .. _Transifex: https://www.transifex.com/projects/p/django-oscar/
  13. Translating Oscar within your project
  14. -------------------------------------
  15. If Oscar does not provide translations for your language, or if you want to
  16. provide your own, do the following.
  17. Within your project, create a locale folder and a symlink to Oscar so that
  18. ``./manage.py makemessages`` finds Oscar's translatable strings::
  19. mkdir locale i18n
  20. ln -s $PATH_TO_OSCAR i18n/oscar
  21. ./manage.py makemessages --symlinks --locale=de
  22. This will create the message files that you can now translate.