Ticket #11364: 11364-r11092.diff
File 11364-r11092.diff, 606 bytes (added by , 15 years ago) |
---|
-
docs/topics/i18n.txt
890 890 891 891 To use the catalog, just pull in the dynamically generated script like this:: 892 892 893 <script type="text/javascript" src=" /path/to/jsi18n/"></script>893 <script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script> 894 894 895 895 This is how the admin fetches the translation catalog from the server. When the 896 896 catalog is loaded, your JavaScript code can use the standard ``gettext``