yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12491
[Bug 1295920] Re: PO makemessage ignore pattern does not work with Django 1.6
** 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/1295920
Title:
PO makemessage ignore pattern does not work with Django 1.6
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in OpenStack I18n & L10n:
New
Bug description:
In run_tests.sh --makemessages, files under openstack/common are
excluded because they are not actually used in OpenStack dashboard and
there is no need to translate at the moment. "--
ignore=openstack/common" option to manage.py makemessages is used to
exclude these files.
However, after the default version of Django is switched to 1.6, "--
ignore" option works does not work as previously it does and strings
from openstack/common are included in translation strings.
The reason of this is that ignore pattern is checked against basename of each file/directory in Django 1.6.
We need to specify basename in ignore patterns: i.e. --ignore=openstack.
At now we don't have directories named as "openstack" other than openstack_dashboard/openstack/common, so it works.
I am not sure it is a bug or spec change in Django 1.6, but
translation deadline for Icehosue is approaching and we need work
around ASAP.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1295920/+subscriptions
References