<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 class="" 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">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">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 class="" 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 class="" 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 class="" 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 id="magicdomid12" class="" 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 id="magicdomid12" class="" 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 id="magicdomid12" class="" 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>