← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1675298] Re: automatic generation of LANGUAGES list in settings.py

 

Reviewed:  https://review.openstack.org/450126
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a88092630014c53c9e6fe4ee9265f8443eea96bd
Submitter: Jenkins
Branch:    master

commit a88092630014c53c9e6fe4ee9265f8443eea96bd
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date:   Sun Mar 26 14:42:25 2017 +0000

    Generate language list automatically
    
    Previously the available language list is maintained manually.
    This commit change horizon to check translation message catalog
    is available for each language and generate the language list
    automatically. settings.LANGUAGES is still used to determines
    the initial set of languages and now defaults to the list provided
    by django.
    
    Change-Id: I9d9c934beebd7a641e2feb0d5cdfa839e0efa3c3
    Closes-Bug: #1675298


** Changed in: horizon
       Status: In Progress => 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/1675298

Title:
  automatic generation of LANGUAGES list in settings.py

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in openstack i18n:
  New

Bug description:
  At now, LANGUAGES list in openstack_dashboard/settings.py is updated
  manually. It is better to generate the language list automatically
  based on the existence of PO files.

  In horizon, there are four types of PO files ([horizon/locale,
  openstack_dashboard] * [django, djangojs]). It looks better to check
  whether all four types of PO files exist in the repo and list such
  languages.

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


References