Ticket #7061: i18n-doc-requestcontext-languages.diff
File i18n-doc-requestcontext-languages.diff, 717 bytes (added by , 17 years ago) |
---|
-
docs/i18n.txt
266 266 Each ``RequestContext`` has access to three translation-specific variables: 267 267 268 268 * ``LANGUAGES`` is a list of tuples in which the first element is the 269 language code and the second is the language name (in that language).269 language code and the second is the language name (in English). 270 270 * ``LANGUAGE_CODE`` is the current user's preferred language, as a string. 271 271 Example: ``en-us``. (See "How language preference is discovered", below.) 272 272 * ``LANGUAGE_BIDI`` is the current language's direction. If True, it's a