discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SystemPreferences app and NSLocale


From: Fred Kiefer
Subject: Re: SystemPreferences app and NSLocale
Date: Sun, 20 Aug 2017 23:02:58 +0200

Please have a look at the code inside of NSLocale. After selecting the locale 
all the different settings you are referring to will be extracted from that 
locale. And applications that rely on the Foundation functionality will respect 
these settings. At least for the case where ICU gets used.

On the other hand, the time zone is completely unrelated to the the locale. 
That way I am able to use my German settings even when in a foreign country.

Selecting the different setting separately will get complicate, as you may have 
to create a new locale with ICU.

Hope this helps,
Fred


> Am 20.08.2017 um 22:01 schrieb Riccardo Mottola <address@hidden>:
> On 20/08/2017 16:58, Stefan Bidigaray wrote:
>> Absolutely! What I was trying to say before is that I don't know how locales 
>> are set. I don't think SystemPreferences has a pane for locale, though, does 
>> it? That leads me to the other part of my question, which default sets this?
> 
> well, let's assert which preference to write and we can write a new Module!
> 
> Also, can we confirm first that the Time Zone Panel is writing the correct 
> thing? @"Local Time Zone" ?
> Just to be sure that there is no bug and we are speaking of a new "feature"
> 
> I think it is not totally easy, because it the timezone (and other locales) 
> will be specific to GS apps.
> I suppose we need settings for:
> 1) language (which we already support, we need the PrefPane for it)
> 2) date and time formats
> 3) numbers
> 4) currency
> 5) measurement units
> 
> do we have settings for any of those, support at all? would it make any 
> effects on apps?
> Before working on a Panel we need to assess what we already support through 
> existing preference in the global domain.
> 
> Often you choose a "cluster" of settings, e.g. you say "Italy" or "UK" or 
> "US" and set all those above, this is I guess why Edwin thought it was or 
> could be combined with the Time Zone.
> 
> Riccardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]