From fa76275e8a2fcad7a13c1a6fbf13764942225959 Mon Sep 17 00:00:00 2001 From: Mitch Davis Date: Sun, 24 Aug 2014 13:01:13 +1000 Subject: [PATCH] [1.6.x] Clarified that makemessages -l takes a locale name, not a language code. Backport of 5473c36cef from master --- docs/topics/i18n/translation.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 4c9a6ca656..acb574a1b1 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -1221,10 +1221,9 @@ To create or update a message file, run this command:: django-admin.py 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`. 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: