[openstack-dev] does exception need localize or not?

yongli he yongli.he at intel.com
Thu Feb 27 08:45:33 UTC 2014


refer to :
https://wiki.openstack.org/wiki/Translations

now some exception use _ and some not.  the wiki suggest do not to do 
that. but i'm not sure.

what's the correct way?


F.Y.I


        What To Translate

At present the convention is to translate/all/user-facing strings. This 
means API messages, CLI responses, documentation, help text, etc.

There has been a lack of consensus about the translation of log 
messages; the current ruling is that while it is not against policy to 
mark log messages for translation if your project feels strongly about 
it, translating log messages is not actively encouraged.

Exception text should/not/be marked for translation, becuase if an 
exception occurs there is no guarantee that the translation machinery 
will be functional.



Regards
Yongli He

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140227/9d813cd2/attachment.html>


More information about the OpenStack-dev mailing list