4 ms·
Grab the en-GB Firefox release? You get dd/mm/yyyy then. https://www.mozilla.org/en-GB/firefox/all/#en-GB https://www.mozilla.org/en-GB/firefox/all/#en-GB
by robin_reala 9y ago
Grab the en-GB Firefox release? You get dd/mm/yyyy then.
https://www.mozilla.org/en-GB/firefox/all/#en-GB https://www.mozilla.org/en-GB/firefox/all/#en-GB
- jochung 9y agoWhy is this read off the firefox locale when my system has perfectly decent localization capabilities set up just the way I like it? (US English, 24h, YMD) This seems like another case of the browser becoming an OS within an OS.
- ubernostrum 9y agoFor the same reason sites end up implementing language switchers despite your browser having a way to set your preference and send it in an HTTP header.
- oneeyedpigeon 9y agoWhich Chrome seems to think is a setting that every single application needs to control itself, rather than being a system-wide config.
- jochung 9y agoHuh? How is a localization being tied to a browser bundle vs OS remotely the same as a website offering the ability to view content in different languages? I can change my OS locale settings just by opening up a panel. Firefox wants me to install a new official locale or a new browser bundle to do the same. Btw, content language is not a locale preference, it's contextual. Browsers could have a standard dropdown in their UI to change that header on the fly, sure, but that wouldn't make language selection unnecessary. Take something like Wikipedia, the contents are widely different across languages, and switching is common for multilingual readers.
- ubernostrum 9y agoThe common reason here is that among people who aren't the sort to post on Hacker News, knowledge of how to change these things -- in the operating system for locale, in the browser for preferred languages -- or even knowledge that these things can be changed, is uncommon. See also: "you can't fix the user".
- fnord123 9y agoI have "intl.accept_languages" set to "en-GB,en". "general.useragent.local" is "en-GB". My system preferences are UK English. Yet this new firefox feature gives me the US date format.
- Manishearth 9y agoThat preference only affects the Accept-Language header. This isn't configurable (yet; I'm trying to make it configurable), but you can download a localized release for en-GB and it should work.
- fnord123 9y agoWell it's a cool feature. I'm looking forward to having it configurable. Thanks!