您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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.