X
Tap here to go to the mobile version of the site.

Support Forum

Change date format config file

Posted

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.

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:

Read this answer in context 1
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17412 solutions 157274 answers

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:

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. *https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig See also: *https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson *https://github.com/mozilla/policy-templates/blob/master/README.md
Was this helpful to you? 1
Quote
Wesley Branton
  • Top 10 Contributor
577 solutions 4932 answers

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:

Hope this helps.

You would change the specific preference that you have mentioned using [[Customizing Firefox Using AutoConfig|an AutoConfig file]]. You'd use something like: <code>lockPref("intl.accept_languages","en-gb");</code> 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: *[https://www.windowscentral.com/how-change-date-and-time-formats-windows-10 How to change date and time formats on Windows 10] ''(for Windows 10)'' *[https://www.digitalcitizen.life/change-display-dates-times-currency-and-measurements How to Change the Display of Dates, Times, Currency and Measurements] ''(for other Windows)'' Hope this helps.
Was this helpful to you?
Quote

Question owner

Thank you for your help. I got this working.

Thank you for your help. I got this working.
Was this helpful to you? 0
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.