← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1229026] Re: Cannot set a language unknown to Django to LANGUAGES list

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1229026

Title:
  Cannot set a language unknown to Django to LANGUAGES list

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  We cannot add a language which Django doesn't know (i.e., not listed in django/conf/locale/__init__.py) to LANGUAGES list in openstack_dashboard/settings.py.
  Some language (like en_AU) on Transifex are not listed in django/conf/locale/__init__.py.
  If such languages is added to LANGUAGES list, we got an error (traceback) when opening the language preference form.

  django/conf/locale/__init__.py LANG_INFO is used just to display a local string for each language.
  It is better to handle unknown languages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1229026/+subscriptions