[openstack-dev] [horizon][infra] django.pot hardcoded or not?

Akihiro Motoki amotoki at gmail.com
Wed Dec 30 18:07:45 UTC 2015

I haven't looked into the code detail, but as far as I read
it is enforced by django framework.

How django searches message catalogs is described at
In addition, django requires separate string domains for python part
and JavaScript part.

I don't think it is easy to change this.

I think it is better to define a tox target to extract message catalogs
instead of using "tox -e venv - ....".


2015-12-31 0:42 GMT+09:00 Andreas Jaeger <aj at suse.com>:
> I'm currently looking into simplifying and consolidation of translation
> setup for projects (draft spec at [1]) and have a question for dashboard
> translations. Right now, horizon uses django.pot and djangojs.pot - and most
> *-dashboard projects use the same names. Are these names enforced by the
> django framework and thus cannot be changed or are they setup in our
> repositories this way and thus could be changed?
> I prefer to rename them to make it clearer which project they belong to as
> part of my spec and would like your input on whether that's feasible.
> Note: Once the spec is fleshed out, I'll send another email asking for
> review...
> Andreas
> References:
> [1] https://review.openstack.org/262545
> --
>  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
>   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>    GF: Felix Imendörffer, Jane Smithard, Graham Norton,
>        HRB 21284 (AG Nürnberg)
>     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

More information about the OpenStack-dev mailing list