← Back to team overview

openstack team mailing list archive

Re: Question on i8ln?

 

Joshua, most of non-english speaking developers I know try to use english
for class names, methods, fields, constants... English is the 'lingua
franca' for code, so even developers with bad english level like me try to
use english all the time... so internationalized logging messages do not
make sense from my perspective. And sometimes translations are awful, or
even hilarious.

So +1 for english only logging messages in the code.

Cheers
Diego

P.D.: I know this is the kind of topic everybody has an opinion, so I hope
nobody feels attacked ;-)
-- 
Diego Parrilla
 <http://www.stackops.com/>*CEO*
*www.stackops.com | * diego.parrilla@xxxxxxxxxxxx** | +34 649 94 43 29 |
skype:diegoparrilla*
* <http://www.stackops.com/>
**



On Mon, Feb 13, 2012 at 9:50 PM, Joshua Harlow <harlowja@xxxxxxxxxxxxx>wrote:

>  Hi all,
>
> I was just wondering if I could get clarification on something I never
> understood related to i8ln.
>
> In nova HACKING.rst there is a line that mentions how log messages should
> be using gettext for i8ln.
>
> Is it common in other companies to attempt to internationalize log
> messages?
>
> I’ve seen this throughout the different openstack code and never quite
> understood why.
>
> I can understand horizon being internationalized, but
> debugging/error/warning (logging) messages? Isn’t that meant to be read by
> a developer, who will most likely understand english (to some degree).
>
> ??
>
> -Josh
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References