mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.7.x] Clarified that makemessages -l takes a locale name, not a language code.
Backport of 5473c36cef from master
This commit is contained in:
parent
5d2b4669e8
commit
95556fdd63
@ -1253,10 +1253,9 @@ To create or update a message file, run this command::
|
|||||||
|
|
||||||
django-admin.py makemessages -l de
|
django-admin.py makemessages -l de
|
||||||
|
|
||||||
...where ``de`` is the language code for the message file you want to create.
|
...where ``de`` is the :term:`locale name` for the message file you want to
|
||||||
The language code, in this case, is in :term:`locale format<locale name>`. For
|
create. For example, ``pt_BR`` for Brazilian Portuguese, ``de_AT`` for Austrian
|
||||||
example, it's ``pt_BR`` for Brazilian Portuguese and ``de_AT`` for Austrian
|
German or ``id`` for Indonesian.
|
||||||
German.
|
|
||||||
|
|
||||||
The script should be run from one of two places:
|
The script should be run from one of two places:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user