Doug Wiegley dd726ed494 Move i18n to _i18n, as per oslo_i18n guidelines
- This does NOT break other projects that rely on neutron.i18n,
  as this change includes a debtcollector shim to maintain those
  older entry points, until they can migrate.
- Also updates _i18n.py to the latest pattern defined by oslo_i18n
- Guidance and template are from the reference:
  http://docs.openstack.org/developer/oslo.i18n/usage.html

Partially-Closes-Bug: #1519493
Change-Id: I1aa3a5fd837d9156da4643a367013c869ed8bf9d
2015-12-01 19:29:10 -07:00

1.4 KiB

Neutron Stadiun i18n

  • Refer to oslo_i18n documentation for the general mechanisms that should be used: http://docs.openstack.org/developer/oslo.i18n/usage.html
  • Do NOT use the _i18n module in neutron-lib or neutron.
  • It is recommended that you create a {package_name}/_i18n.py file in your repo, and use that. Your localization strings will also live in your repo.
  • The neutron.i18n module will be around for a release or two, with shared localization strings, but migration is encouraged.