aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics/internationalisation.md
diff options
context:
space:
mode:
authorCraig Blaszczyk2015-01-07 11:13:03 +0000
committerCraig Blaszczyk2015-01-07 11:13:03 +0000
commit7913947757b0e6bd1b8828db81933c32c498e20a (patch)
treefc537c04ff69612219fb284b510aac83dba9d441 /docs/topics/internationalisation.md
parent6fb37207d18949031fb7203d6fd67ee503df0a34 (diff)
downloaddjango-rest-framework-7913947757b0e6bd1b8828db81933c32c498e20a.tar.bz2
add config and documentation about uploading/downloading translations from Transifex
Diffstat (limited to 'docs/topics/internationalisation.md')
-rw-r--r--docs/topics/internationalisation.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/topics/internationalisation.md b/docs/topics/internationalisation.md
index fac3bdb7..2a476c86 100644
--- a/docs/topics/internationalisation.md
+++ b/docs/topics/internationalisation.md
@@ -3,11 +3,13 @@ REST framework ships with translatable error messages. You can make these appea
## How to translate REST Framework errors
+REST framework translations are managed online using [Transifex.com][transifex]. To get started, checkout the guide in the [CONTRIBUTING.md guide][contributing].
-This guide assumes you are already familiar with how to translate a Django app. If you're not, start by reading [Django's translation docs][django-translation].
+Sometimes you may want to use REST Framework in a language which has not been translated yet on Transifex. If that is the case then you should translate the error messages locally.
+#### How to translate REST Framework error messages locally:
-#### To translate REST framework error messages:
+This guide assumes you are already familiar with how to translate a Django app. If you're not, start by reading [Django's translation docs][django-translation].
1. Make a new folder where you want to store the translated errors. Add this
path to your [`LOCALE_PATHS`][django-locale-paths] setting.
@@ -89,4 +91,5 @@ display as Django does. You can find more info in the [Django docs on discoveri
[django-translation]: https://docs.djangoproject.com/en/1.7/topics/i18n/translation
[django-language-preference]: https://docs.djangoproject.com/en/1.7/topics/i18n/translation/#how-django-discovers-language-preference
[django-locale-paths]: https://docs.djangoproject.com/en/1.7/ref/settings/#std:setting-LOCALE_PATHS
-[django-locale-name]: https://docs.djangoproject.com/en/1.7/topics/i18n/#term-locale-name \ No newline at end of file
+[django-locale-name]: https://docs.djangoproject.com/en/1.7/topics/i18n/#term-locale-name
+[contributing]: ../../CONTRIBUTING.md