commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micael <>
Subject Re: [logging] Internationalization of log messages
Date Fri, 23 Aug 2002 19:59:33 GMT
At the risk of repeating myself, the basic idea behind i18n is to provide 
the functionality in the creation of the view.  The difficulty here is that 
the writing and the view are not decoupled.  They need to be decoupled, and 
then the whole problem disappears, because the view and the data are 
decoupled.  So, somehow, to properly address the problem, the writer must 
write the data, and the reader must read the data in whatever language is 
desired.  So, apparently one needs a writer to write the data in "code," 
and a reader to do the translation.  Having the logger do the translation 
is a less than ideal design decision.

At 04:23 PM 8/23/2002 +0200, you wrote:
>bayard writes:
> >Why would
> >a swede wish to read error logs in poor english when the creator could
> >have written a much better version in swedish.
>Sweden is a special case. Yes, we actually do favor technical info coming 
>in poor English. We are pretty used to poor English, being so poor at 
>English as we are (because we don\'t realise that we are poor at it so we 
>don\'t see that it\'s poor :-)
> >anglicised/americanised nations.
>Yup. Americanised R Us.
>But I do agree with the original poster\'s remark that the wording in the 
>documentation sounds as if i18n is mandatory. Skip that, let people choose.
>As for a Swedish/Chinese/Klingon/Whatever Java version... no. English, 
>even crappy, provides cooperation over nation boundaries.
>A stupid project manager I had once insisted that all method and class 
>names should be in Swedish, in a java beans based system.
>Instead of \"getFoo()\" we had to write \"hamtaFoo()\", and of course had 
>to spend many valuable hours writing bean info\'s for all the beans since 
>the normal name standard based introspection didn\'t work. Duh!
>0733 - 99 99 17
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message