mirror of
https://github.com/django/django.git
synced 2025-08-17 17:20:38 +00:00
Clarified that makemessages -l takes a locale name, not a language code.
This commit is contained in:
parent
4c85a0d95f
commit
5473c36cef
1 changed files with 3 additions and 4 deletions
|
@ -1257,10 +1257,9 @@ To create or update a message file, run this command::
|
|||
|
||||
django-admin makemessages -l de
|
||||
|
||||
...where ``de`` is the language code for the message file you want to create.
|
||||
The language code, in this case, is in :term:`locale format<locale name>`. For
|
||||
example, it's ``pt_BR`` for Brazilian Portuguese and ``de_AT`` for Austrian
|
||||
German.
|
||||
...where ``de`` is the :term:`locale name` for the message file you want to
|
||||
create. For example, ``pt_BR`` for Brazilian Portuguese, ``de_AT`` for Austrian
|
||||
German or ``id`` for Indonesian.
|
||||
|
||||
The script should be run from one of two places:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue