diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-03-20 19:59:10 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-03-20 20:47:04 +0100 |
| commit | 5cad259c12bed21ad80b68be1ec15ec3c48b6a3e (patch) | |
| tree | a429c260e07c1e63bf4b2acf864d7771fd813423 /docs | |
| parent | b2a80f9053acb151a753a3a1e264a65ab8a5d806 (diff) | |
[1.7.x] Fixed #23520 -- Explained that custom plural forms should be avoided
Thanks aruseni for the report.
Backport of 556eb67701 from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 18c72fbd7d..f695580f8f 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -265,6 +265,15 @@ In a case like this, consider something like the following:: a format specification for argument 'name', as in 'msgstr[0]', doesn't exist in 'msgid' +.. note:: Plural form and po files + + Django does not support custom plural equations in po files. As all + translation catalogs are merged, only the plural form for the main Django po + file (in ``django/conf/locale/<lang_code>/LC_MESSAGES/django.po``) is + considered. Plural forms in all other po files are ignored. Therefore, you + should not use different plural equations in your project or application po + files. + .. _contextual-markers: Contextual markers |
