horizon/openstack_dashboard/local
Akihiro Motoki 1e169481b0 Revert "Generate language list automatically"
This reverts commit a880926300.

The reverted implementation depends on LOCALE_PATHS but this assumption
turns out not correct. Django searches messages catalogs LOCALE_PATHS
and locale directory in individual INSTALLED_APPS, but the usage of
LOCALE_PATHS varies on deployers and we cannot assume the default value
of LOCALE_PATSH.

In addition, the logic of auto-generating the language list cannot
handle locale name alias ('fallback' in the Django code).
Django 1.9 or later perfers to zh-hant and zh-hans, and zh-cn and
zh-tw are now defined as fallback.

We can explore a better approach for auto-generation of the language
list, but we do not have more reliable way so far. Cconsidering the
timing of Pike release, the safest approach looks like to revert
the original patch back to the manula maintenance of the lang list.

Languages with over 50% progress (based on the number of translated
messages as total) are listed in settings.LANGUAGES.
(http://paste.openstack.org/show/618254/)

Closes-Bug: #1710131
Change-Id: I5133d6317aba6107fc37bd5f30388c130b1fdaac
(cherry picked from commit 00f74fc06c)
2017-08-13 14:41:24 +00:00
..
enabled Remove _40_router.py.example file 2015-08-21 12:27:55 -04:00
local_settings.d Provide the bones of profiler: api and middleware 2016-11-09 11:51:06 +03:00
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
local_settings.py.example Revert "Generate language list automatically" 2017-08-13 14:41:24 +00:00