Comment 6 for bug 983829

Chuck Short (zulcss) wrote :

** Impact **

Running glance in a zn_cn locale, glance will not function properly and result in traceback like the following:

This message formt is not correct for Pybabel to compile, it will report error like this:
error: locale/zh_CN/LC_MESSAGES/glance.po:742: format string mixes positional and named placeholders

** Development Fix **

This has been addressed in https://review.openstack.org/6712 and fixed in quantal.

** Stable Fix **

This has been addressed in the stable/essex branch in https://review.openstack.org/6923

** Test case **

Run glance with the zh_CN locale and check for messages like the following:

This message formt is not correct for Pybabel to compile, it will report error like this:
error: locale/zh_CN/LC_MESSAGES/glance.po:742: format string mixes positional and named placeholders

** Regression Potential **

Minimal, this only affects zh_CN locales and probably others.