That list is from intl/locale/language.properties
where we've hard-coded which locales we'll expose for Accept-Language headers. This is one of the differences between in-product locale and the web, alas. The default Accept-Language header will also differ between Gecko/desktop and each mobile platform. On Tue, Nov 3, 2015 at 7:19 AM, Shane Tomlinson <[email protected]> wrote: > > Firefox desktop is built for hi-IN, pt-PT, pt-BR. You can grab > single-locale builds for those locales: > > If I open about:preferences#content, I can only add `hi` or `pt` under > languages. I see neither hi-IN nor pt-PT. > > Perhaps that's an issue with the en-US build, obviously a discrepancy > exists somewhere. > > Shane > > > On Tue, Nov 3, 2015 at 3:00 PM, Richard Newman <[email protected]> > wrote: > >> Firefox supports neither hi_IN nor pt_PT, only hi and pt. >>> >> >> I'm not sure this is a true statement. >> >> Firefox desktop is built for hi-IN, pt-PT, pt-BR. You can grab >> single-locale builds for those locales: >> >> http://ftp.mozilla.org/pub/firefox/releases/42.0b9/mac/ >> >> The Accept-Language header that the pt-BR build sends will perhaps (I >> haven't checked) be something like >> >> pt-BR,pt,en-US >> >> Firefox for Android is very likely to send the OS locale as part of that, >> as well as being naturally multilocale. You can try it out with the app's >> built-in locale switcher. >> >> Firefox for iOS is a different matter entirely, and the Accept-Language >> header will be based on both locale and region as defined by iOS. >> >> >> >> >>> John Morrison is concerned that copying from a region specific variant >>> to the generic variant is bad practice and is gently nudging us to do >>> better. >>> >> >> … but that's true :) >> >> >
_______________________________________________ Dev-fxacct mailing list [email protected] https://mail.mozilla.org/listinfo/dev-fxacct

