Ticket #5492: i18n.2.diff
File i18n.2.diff, 953 bytes (added by , 17 years ago) |
---|
-
docs/i18n.txt
752 752 sends out a JavaScript code library with functions that mimic the ``gettext`` 753 753 interface, plus an array of translation strings. Those translation strings are 754 754 taken from the application, project or Django core, according to what you 755 specify in either the {{{info_dict}}}or the URL.755 specify in either the ``info_dict`` or the URL. 756 756 757 757 You hook it up like this:: 758 758 … … 818 818 ---------------------------------------- 819 819 820 820 You create and update the translation catalogs the same way as the other Django 821 translation catalogs -- with the {{{make-messages.py}}}tool. The only821 translation catalogs -- with the ``make-messages.py`` tool. The only 822 822 difference is you need to provide a ``-d djangojs`` parameter, like this:: 823 823 824 824 make-messages.py -d djangojs -l de