[Scilab-Dev] PATCH for set/get environment variables

Sylvestre Ledru sylvestre.ledru at scilab.org
Mon Jan 26 16:44:48 CET 2009


Le vendredi 23 janvier 2009 à 00:17 +0800, Yung-Jang Lee a écrit :
> Allan,
> 
> To test Chinese, It seems that  advanced settings of "Regional and
> Language options" must be set for
> 
>     * Language for non-Unicode programs
> 
> This  setting should  be same as the language  you select for the
> 'Regional option'. But it is fine if they belong to same code page.
> There are two code page for chinese , for two groups of region,
> 
> Code page 'CP950', Chinese-Traditional : for regions Macau ,Taiwan
> ,Hong Kong, must use scilab 'zh_TW' language setting.
> 
> and
> 
> Code page 'CP936',  Chinese-Simplified : for regions P.R.C,Singapore ,
> must use scilab 'zh_CN' language setting.
> 
> Scilab menu may disabled if language setting of 'Regional option" and
> 'Advanced' belong to different group.
I don't know how much it is related but yesterday, I pushed a change
about the localization. In the version 5.0, the localization was
performed in the native code (C) and in the Java by two different ways
(both handled by gettext but still...). 
Now, the Java is calling the native code in order to retrieve the right
localized string.

Sylvestre
[1] The code:
http://gitweb.scilab.org/?p=scilab;a=commitdiff;h=7c4255abc485b557f610370ff0530b75b5cc5e69
Note that there are many automatically generated code.





More information about the dev mailing list