<p dir="ltr">+1 To translating oslo logs. There is quite a bit of logging that comes out of the libraries. It should be logged for consistency using delayed translation.</p>
<p dir="ltr">Jay</p>
<div class="gmail_quote">On Jun 20, 2014 8:22 AM, "Doug Hellmann" <<a href="mailto:doug.hellmann@dreamhost.com">doug.hellmann@dreamhost.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Jun 20, 2014 at 8:40 AM, Mark McLoughlin <<a href="mailto:markmc@redhat.com">markmc@redhat.com</a>> wrote:<br>
> Hi<br>
><br>
> I'm not sure we've ever discussed this before, but I had previously<br>
> figured that we shouldn't translate log and exception messages in<br>
> oslo.messaging.<br>
><br>
> My thinking is:<br>
><br>
> - it seems like an odd thing for a library to do, I don't know of<br>
> examples of other libraries doing this .. but I haven't gone<br>
> looking<br>
><br>
> - it involves a dependency on oslo.i18n<br>
><br>
> - more than just marking strings for translation and using<br>
> gettextutils, you also need to set up the infrastructure for pushing<br>
> the .pot files to transifex, pulling the .po files from .transifex<br>
> and installing the .mo files at install time<br>
><br>
> I don't feel terribly strongly about this except that unless someone is<br>
> willing to see this through and do the transifex and install-time work,<br>
> we shouldn't be doing the use-oslo.i18n and mark-strings-for-translation<br>
> work.<br>
<br>
I had thought we would do all of the oslo libraries, since so many of<br>
the log messages actually come from library code. I think Andreas has<br>
already set up most of the infrastructure needed to make the<br>
translation jobs work.<br>
<br>
We haven't done a great job of communicating the plan on log<br>
translations, and I'm currently looking for someone from the i18n team<br>
to step forward to be the point of contact on that work.<br>
<br>
Doug<br>
<br>
><br>
> Mark.<br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>