Change date format config file
Hi All, We are using Firefox ESR 60.x.x on our W10 devices. We are unable to change the locale via the config files for the device rather than a per user setting. Does anyone know how to make this work? We are seeing the US date format but need UK date format. intl.accept_languages works only when changed in about:config. None of the config files seem to apply this setting.
Chosen solution
What locale language do you want to change?
intl.accept_languages is about the language preferences for visiting websies as set in "Options/Preferences -> General -> Languages".
The language for the user interface is controlled by intl.locale.requested and depend upon the Firefox locale and possible language packs that are installed. This latter setting (RequestedLocales) is also available via a policies.json file and I assume GPO as well.
You should be able to set or lock prefs via an autoconfig.cfg file.
See also:
- https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson
- https://github.com/mozilla/policy-templates/blob/master/README.md
All Replies (3)
Chosen Solution
What locale language do you want to change?
intl.accept_languages is about the language preferences for visiting websies as set in "Options/Preferences -> General -> Languages".
The language for the user interface is controlled by intl.locale.requested and depend upon the Firefox locale and possible language packs that are installed. This latter setting (RequestedLocales) is also available via a policies.json file and I assume GPO as well.
You should be able to set or lock prefs via an autoconfig.cfg file.
See also:
You would change the specific preference that you have mentioned using an AutoConfig file. You'd use something like:
lockPref("intl.accept_languages","en-gb");
But that's only going to tell websites what language you'd prefer. Not every website has a UK-specific locale option. Some simply have just "en", which encompasses all of the English variations.
Changing the time, date and currency formats is usually controlled by the operating system settings. For more information see:
- How to change date and time formats on Windows 10 (for Windows 10)
- How to Change the Display of Dates, Times, Currency and Measurements (for other Windows)
Hope this helps.
Thank you for your help. I got this working.