[openstack-dev] [i18n] [nova] understanding log domain change - https://review.openstack.org/#/c/439500
Sean Dague
sean at dague.net
Tue Mar 21 17:08:55 UTC 2017
On 03/21/2017 01:06 PM, Matt Riedemann wrote:
> On 3/21/2017 2:25 AM, Akihiro Motoki wrote:
>>
>> Yes, all logging markers including LOG.exception(_LE(...)) will be
>> clean up.
>> Only user visible messages through API messages should be marked as
>> translatable.
>>
>
> Do we still use _LE() or just _() for marking API error messages for
> translation?
>
All of _L* no longer have any message backings, so using them just means
it's not translated at all. _() is the thing you have to use.
-Sean
--
Sean Dague
http://dague.net
More information about the OpenStack-dev
mailing list