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

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to