Opened 9 years ago

Closed 9 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: master
Severity: minor Keywords:
Cc: nesh@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Currently we are using get_language = lambda: 'en'. IMHO it is better to use get_language = lambda: settings.LANGUAGE_CODE

Change History (1)

comment:1 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [3298]) Fixed #2310 -- Changed trans_null.py to use settings.LANGUAGE_CODE instead of hard-coded 'en'

Note: See TracTickets for help on using tickets.
Back to Top