<div dir="ltr"><div>I think all proposed actions make sense, and I strongly agree that we need to start working on them and finish them in Kilo cycle scope. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 3:49 PM, Ekaterina Chernova <span dir="ltr"><<a href="mailto:efedorova@mirantis.com" target="_blank">efedorova@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font face="arial, helvetica, sans-serif">Hi all!</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><div><font face="arial, helvetica, sans-serif">Recently we have discussed the log and exception translations and have not come to a decision.</font></div></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I've made some research and found a useful documents:</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><ul style="margin:0px 0px 0px 1.5em;padding:0px;color:rgb(0,0,0);line-height:16px"><li><font face="arial, helvetica, sans-serif"><a href="https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation" style="margin:0px;padding:0px" target="_blank">https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation</a><br></font></li><li><font face="arial, helvetica, sans-serif"><a href="https://wiki.openstack.org/wiki/Translations" style="margin:0px;padding:0px" target="_blank">https://wiki.openstack.org/wiki/Translations</a><br></font></li></ul><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16px"><br></span></font></div></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16px">Here two main points, that I can highlight</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(0,0,0);line-height:16px;margin:0px;padding:1px 0px"><span style="margin:0px;padding:0px">* "</span><b style="margin:0px;padding:0px">Exception text should </b></span><span style="color:rgb(0,0,0);line-height:16px;margin:0px;padding:1px 0px"><b style="margin:0px;padding:0px"><i style="margin:0px;padding:0px">not</i></b></span><span style="color:rgb(0,0,0);line-height:16px;margin:0px;padding:1px 0px"><b style="margin:0px;padding:0px"> be marked for translation,</b></span></font><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;line-height:16px"> </span><br><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;line-height:16px"> because if an exception occurs there is no guarantee that the translation machinery will be functional."</span><br><b style="color:rgb(0,0,0);line-height:16px;font-family:arial,helvetica,sans-serif;margin:0px;padding:0px"><br></b></div><div><b style="color:rgb(0,0,0);line-height:16px;font-family:arial,helvetica,sans-serif;margin:0px;padding:0px">* "Debug level log messages are not translated"</b><br></div><div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16px">Some projects do not follow these rules, but I suggest to take them into consideration and perform the following actions:</span></font></div></div><div><div style="margin:0px;padding:0px;color:rgb(0,0,0);line-height:16px"><ul><li><font face="arial, helvetica, sans-serif">First of all, we should remove gettext utils usage and replace it with oslo.i18n;<br></font></li><li><font face="arial, helvetica, sans-serif">Remove exception messages translation;<br></font></li><li><font face="arial, helvetica, sans-serif">Add log translation to info, warn and error log level (and log.exception which creates log.error message). </font></li></ul><span style="font-family:arial,helvetica,sans-serif">Note</span><font style="font-family:arial,helvetica,sans-serif">, that different log levels can be separated to different files. It's also supported to have different log files for different languages.</font><br></div></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);line-height:16px"><font style="font-family:arial,helvetica,sans-serif"><br></font></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);line-height:16px"><font style="font-family:arial,helvetica,sans-serif">What do you think?</font></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Serg Melikyan, Senior Software Engineer at Mirantis, Inc.<br></div><div><a href="http://mirantis.com/" target="_blank">http://mirantis.com</a> | <a href="mailto:smelikyan@mirantis.com" target="_blank">smelikyan@mirantis.com</a><br><div><br>+7 (495) 640-4904, 0261</div><div>+7 (903) 156-0836</div></div></div></div>
</div>