37
submitted 1 year ago* (last edited 1 year ago) by rikudou to c/firefox@lemmy.ml

Is it possible? I'd like my dates, time etc. to be displayed in the way I'm used to while keeping the browser in English. I've tried setting the LC_DATE environment variable as well, but it doesn't respect that.

Edit: Solved!

  1. go to about:config
  2. set intl.regional_prefs.use_os_locales to true
  3. restart firefox.
top 14 comments
sorted by: hot top controversial new old
[-] d_k_bo@feddit.de 11 points 1 year ago

https://superuser.com/a/1804828

Tl;dr:

  1. go to about:config
  2. set intl.regional_prefs.use_os_locales to true
  3. restart firefox.
[-] anamethatisnt@lemm.ee 3 points 1 year ago

And here's an explanation of the value as well as an explanation of why it is set to false by default:
https://firefox-source-docs.mozilla.org/intl/locale.html#regional-preferences

Tl;dr:
Example: It might lead to a UI case like “Today is 24 października” in an English Firefox with Polish date formats.

[-] rikudou 1 points 1 year ago

I'm quite fine with that, but mostly I want dates on the web be in the format I'm used to. I'll read the article, thanks!

[-] rikudou 1 points 1 year ago

That did it, thank you!

[-] anamethatisnt@lemm.ee 7 points 1 year ago

In GNOME it's as simple as shown in the image: Settings -> Region and Language:

[-] rikudou 4 points 1 year ago

I did the equivalent in Cinnamon, but Firefox doesn't respect that:

Screenshot of language settings

[-] bceuhwps@lemmy.ml 3 points 1 year ago
[-] rikudou 2 points 1 year ago

Firefox doesn't seem to respect that, it's set correctly to cs_CZ.UTF-8.

[-] Successful_Try543@feddit.de 3 points 1 year ago

In Firefox about:preferences, there should be the option to use the language preferences specified by the OS.

[-] rikudou 2 points 1 year ago

Do you, by any chance, know which one?

[-] marv99@feddit.de 6 points 1 year ago

In my FF's about:config there is a setting called intl.regional_prefs.use_os_locales, defaulted to false. Maybe this can be used?

[-] rikudou 4 points 1 year ago

Yep, that was it, thanks!

[-] Ashiette@lemmy.one 1 points 1 year ago

In the firefox settings, you can change default language

[-] rikudou 1 points 1 year ago

Not a solution, as I said:

while keeping the browser in English

this post was submitted on 27 Aug 2023
37 points (97.4% liked)

Firefox

17303 readers
66 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS