Quick L10N question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Quick L10N question




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Quick L10N question  
Rich Teer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-05 12:59 PM

Hi all,

I have a quick L10N question: even when user messages are printed in
a localized manner, is it usual to syslog() messages also localized,
or does convention dictate that the latter are printed in English only?

TIA,

--
Rich Teer, SCNA, SCSA, OpenSolaris CAB member

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich





[ Post a follow-up to this message ]



    Re: Quick L10N question  
Gianni Mariani


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-05 12:59 PM

Rich Teer wrote:
> Hi all,
>
> I have a quick L10N question: even when user messages are printed in
> a localized manner, is it usual to syslog() messages also localized,
> or does convention dictate that the latter are printed in English only?

Most apps with use localized messages for both, however, this may not be
the right thing to do depending on application.  If you have a
multilanguage computer (users of multiple locales) you may want to
define the locate of the computer (syslog) and the locale of the user as
2 separate things.

>
> TIA,
>





[ Post a follow-up to this message ]



    Re: Quick L10N question  
Rich Teer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-05 10:57 PM

On Mon, 25 Jul 2005, Gianni Mariani wrote:

> Most apps with use localized messages for both, however, this may not be
> the right thing to do depending on application.  If you have a

Right.

> multilanguage computer (users of multiple locales) you may want to
> define the locate of the computer (syslog) and the locale of the user as
> 2 separate things.

I thought of that this morning.  But is there an easy way to know the
"system's locale"?  The only way I can think of is to look at the LANG
and LC_MESSAGES variables in /etc/default/init (on Solaris at least,
which is my target platform).

--
Rich Teer, SCNA, SCSA, OpenSolaris CAB member

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich





[ Post a follow-up to this message ]



    Re: Quick L10N question  
Laurent Blume


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-05 10:57 PM

Rich Teer wrote:
> I thought of that this morning.  But is there an easy way to know the
> "system's locale"?  The only way I can think of is to look at the LANG
> and LC_MESSAGES variables in /etc/default/init (on Solaris at least,
> which is my target platform).

This is the right way to do it; IMO.
From my experience, I'm always using fr_FR.UTF-8 for myself, but I leave the
system's to C (ie, no LANG or LC_* in /etc/default/init).
Note that dtlogin uses either the system's or if different, /etc/dt/Xconfig,
 and
gdm yet something else, not sure yet exactly what, and they might be conside
red
system, too.

Laurent





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:30 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register