Opened 19 years ago
Closed 19 years ago
#2310 closed enhancement (fixed)
Use LANGUAGE_CODE for get_language in trans_null.py
| Reported by: | Djordjevic Nebojsa <nesh at studioquattro co yu> | Owned by: | hugo |
|---|---|---|---|
| Component: | Internationalization | Version: | dev |
| Severity: | minor | Keywords: | |
| Cc: | nesh@… | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Currently we are using get_language = lambda: 'en'. IMHO it is better to use get_language = lambda: settings.LANGUAGE_CODE
Note:
See TracTickets
for help on using tickets.
(In [3298]) Fixed #2310 -- Changed trans_null.py to use settings.LANGUAGE_CODE instead of hard-coded 'en'