[Gambas-user] System.Language (gb)
Tobias Boege
taboege at ...626...
Tue Jul 4 00:06:51 CEST 2017
On Tue, 04 Jul 2017, bb wrote:
> On 04/07/17 07:13, Tobias Boege wrote:
> > On Tue, 04 Jul 2017, bb wrote:
> > > >Static Property Language As String
> > > >
> > > >Returns or sets the current language setting.
> > > >
> > > >But which one? LANG? LC_ALL? LANGUAGE? ...
> > > >
> > According to source code it returns:
> >
> > 1. LC_ALL if that's non-empty, next
> > 2. LANG if that's non-empty, or otherwise
> > 3. en_US.
> >
> > Regards,
> > Tobi
>
> Thanks Tobi,
>
> ( I looked but couldn't find it in main ???)
>
It's in main/gbx/gbx_c_system.c (which carries you to gbx_local.c).
> WIki updated.
>
> Any comment on the UTF-8 bit?
>
Sorry, I have no clue about locales. All I can say is that the interpreter
seems to only give you the value of the environment variables.
Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list