Public bug reported: As oslo.i18n document [1] suggests, we need to replace _() in the python builtin namespaces with _ defined in _i18n.py in each module. Sharing _() in the builtin namespaces prevents us from looking up per-module translation catalogs because it forces all subprojects to use "neutron" domain.
It is required to support per-project message catalog. Required actions: - Introduce _i18.py with a project specific domain as suggested by oslo.i18n. - Change all related project consumes _() from their own _i18n.py - Remove gettext.install from neutron/__init__.py. I will move forward this bug, but anyone can help me. There are many projects under neutron stadium. [1] http://docs.openstack.org/developer/oslo.i18n/usage.html ** Affects: neutron Importance: Undecided Assignee: Akihiro Motoki (amotoki) Status: New ** Tags: i18n -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1520094 Title: Retire gettext.install which installs _() as builtin namespace Status in neutron: New Bug description: As oslo.i18n document [1] suggests, we need to replace _() in the python builtin namespaces with _ defined in _i18n.py in each module. Sharing _() in the builtin namespaces prevents us from looking up per- module translation catalogs because it forces all subprojects to use "neutron" domain. It is required to support per-project message catalog. Required actions: - Introduce _i18.py with a project specific domain as suggested by oslo.i18n. - Change all related project consumes _() from their own _i18n.py - Remove gettext.install from neutron/__init__.py. I will move forward this bug, but anyone can help me. There are many projects under neutron stadium. [1] http://docs.openstack.org/developer/oslo.i18n/usage.html To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1520094/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

