Changeset 751
- Timestamp:
- 09/30/05 15:13:41 (3 years ago)
- Files:
-
- django/branches/i18n/docs/translation.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/i18n/docs/translation.txt
r750 r751 137 137 value. The language with the highest preference that is in the django base 138 138 message file directory will be used as the language to present to the user. 139 140 Since the middlware discovers the language based on the request, your app 141 might need to know what language is selected (if only to show the flag of 142 that language). The selected language is stored by the middleware in the 143 request as the LANGUAGE_CODE attribute. So with static translation (when 144 you don't use the middlware) the language is in settings.LANGUAGE_CODE, while 145 with dynamic translations (when you do use the middleware) it's in 146 request.LANGUAGE_CODE. 139 147 140 148 Creating Language Files
