← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1536214] [NEW] PO files broken

 

Public bug reported:

python setup.py compile_catalog fails to compile the existing translated
files for Spanish and Turkish - both in master and liberty.

Suggested action:
1) Fix the strings in translation server so that next translation import gets strings that are valid
2) Add lint check that checks that translations are valid.

For 2: Add to tox.ini a check like it's done for keystone:
  # Check that .po and .pot files are valid.
  bash -c "find nova -type f -regex '.*\.pot?' -print0| \
           xargs -0 -n 1 msgfmt --check-format -o /dev/null"

Change 2)  will take care that the daily translation import cannot
import again non-valid translations. 2) should only merge once 1) is
fixed and imported.

** Affects: nova
     Importance: High
     Assignee: Andreas Jaeger (jaegerandi)
         Status: In Progress

** Affects: nova/kilo
     Importance: Undecided
         Status: New

** Affects: nova/liberty
     Importance: High
     Assignee: Andreas Jaeger (jaegerandi)
         Status: In Progress


** Tags: i18n

** Changed in: nova
     Assignee: (unassigned) => Andreas Jaeger (jaegerandi)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1536214

Title:
  PO files broken

Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Compute (nova) kilo series:
  New
Status in OpenStack Compute (nova) liberty series:
  In Progress

Bug description:
  python setup.py compile_catalog fails to compile the existing
  translated files for Spanish and Turkish - both in master and liberty.

  Suggested action:
  1) Fix the strings in translation server so that next translation import gets strings that are valid
  2) Add lint check that checks that translations are valid.

  For 2: Add to tox.ini a check like it's done for keystone:
    # Check that .po and .pot files are valid.
    bash -c "find nova -type f -regex '.*\.pot?' -print0| \
             xargs -0 -n 1 msgfmt --check-format -o /dev/null"

  Change 2)  will take care that the daily translation import cannot
  import again non-valid translations. 2) should only merge once 1) is
  fixed and imported.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1536214/+subscriptions


Follow ups