RE:[Fwd: [ROOT] CINT doesnt support 8 bi

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Tue Feb 06 2001 - 11:05:41 MET


Hi Masaharu Goto, 

On Thu,  1 Feb 2001 22:36:34 +0900
Masaharu Goto <MXJ02154@nifty.ne.jp> wrote
concerning ": RE:[Fwd: [ROOT] CINT doesnt support 8 bi":
> Hello Yannick,
> 
> >Maybe this feature could rely on the standard 'locale' shell variable
> >'LANG' ? I never saw 'EUR', but I think that the list of standard values
> >for european languages can easily be found.
> 
> EUR does not correspond to any kind of standard. If you have better name,
> please let me know. 

iso-8996-1 would be a much better name, since that's what it
is. Ofcourse this will only be for west european languages. You'd need 
iso-8996-2 and so on for eastern europe, south america, slavic
countries, and so on.
 
> >btw, by browsing both cint and root code, it appears that all text
> >strings are hardcoded, but I think that a localisation of those tools is
> >not really needed ?

There exist many tools from GNU to make internationalised (or
localised) applications, like GetText and so on. 

They do not really on external programs, only that the user may
install locale files for an applictaion in the proper place (most
often /usr/share/locale on Unix). 

In fact, I believe that one of the tools will parse your code and try
to find all text strings, so it should be comparably easy to find
literal striungs ion the code, extract them, and substitute with
localisation functions.  

Japanese is ofcourse supported by GNU Gettext. Please also refer to
the Debian-JP projkect, that have made a huge effort of
internationalising most Un*x programs, and provide support for Kanji,
Katakana, Hirakana, Slavic alphabets, and so on. Thier homepage is at  

  http://debian.or.jp

> Year! Real good point. The original thought was to make cint a
> stand alone binary so that a user can bring only one binary to
> run it.  Although, cint goes with many related files, this concept
> is stil valid for doing a simple job. 

Using GNU GetText and shell environment variable LANG, I believe that
you do not need any external programs at all. 

However, as stated above, one should be able to install localisation
files in some proper location which is usually SysOp administrated,
tough it may be possible to install them in some user
directory. Therefore, I strongly recommend that bare CINT makes it
possible to install into static libraries, as in the case of ROOT.  

Yours, 

Christian  -----------------------------------------------------------
Holm Christensen                             Phone:  (+45) 35 35 96 91 
  Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
  DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
  Denmark                                    Email:       cholm@nbi.dk



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET