On Sunday, April 9, 2017 at 9:50:49 PM UTC-7, gsqu...@mozilla.com wrote:

> How is the browser UI locale set/chosen? If based on OS locale settings, 
> great!

It's currently based on the selection of pref called "general.useragent.locale" 
negotiated against resources available in ChromeRegistry.

This will be slowly morphing into a list of fallback locales selected by the 
user in Preferences.
 
> However, if based on (I guess) downloaded version:
> 
> Does that mean that Firefox will now ignore *my* preferred OS-wide settings? 
> (e.g.: 24h clock, YYYY-MM-DD dates.)

No, that precisely means the opposite. The new API does look into your OS-wide 
regional preferences and alters the date/time patterns to respect them.

We're in the process of migrating current calls to use the new API - see the 
three dependencies in bug 1354339 which all have patches in review.

Cheers,
zb.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to