Revision c469ca86 docs/src/i18n.rst
b/docs/src/i18n.rst | ||
---|---|---|
11 | 11 |
|
12 | 12 |
LANGUAGES = ( |
13 | 13 |
('el', u'Ελληνικά'), |
14 |
('en', 'English'), |
|
15 |
) |
|
14 |
('en', 'English'),) |
|
16 | 15 |
|
17 | 16 |
1) For each language we want to add, we run makemessages, from our project's |
18 | 17 |
base: |
19 | 18 |
|
20 | 19 |
$ ./bin/django-admin.py makemessages -l el -e html,txt,py |
21 |
(./bin/django-admin.py makemessages -l el -e html,txt,py --ignore=lib/*) |
|
20 |
(./bin/django-admin.py makemessages -l el -e html,txt,py --ignore=lib/\*)
|
|
22 | 21 |
|
23 | 22 |
This will add the Greek language, and we specify that html, txt and python |
24 | 23 |
files contain translatable strings |
Also available in: Unified diff