heads up: MO files are disappearing in Juno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack i18n |
Fix Released
|
Undecided
|
Akihiro Motoki | ||
openstack-dashboard (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
This is just a heads up from upstream that the compiled message catalogues (MO files) for translations previously bundled with horizon will be removed for the Juno release. PO files will remain.
MO files are effectively binary files easily generated from the PO files per language, using gettext. A script has also been provided for conveniences (run_tests.sh --compilemessages) - but direct use of gettext is also fairly straightforward.
Other distributions, including debian upstream, are compiling these messages as part of their packaging
To ensure that your users continue to be able to use translations in openstack-
Something like this also works:
cd horizon && django-admin compilemessages && cd ..
cd openstack_dashboard && django-admin compilemessages && cd ..
# remove unnecessary .po files
find . -name "django*.po" -exec rm -f '{}' \;
Horizon developer doc will cover the installation step including how to compile message catalogs.
https:/ /review. openstack. org/#/c/ 126169/
The draft version of the document is here: docs-draft. openstack. org/69/ 126169/ 3/check/ gate-horizon- docs/ab7c3c3/ doc/build/ html/topics/ install. html
http://