<div dir="ltr"><div>Hi Shane,<br><br></div><div>I agree simply copying region specific variants to generic ones is a bad idea.<br><br></div><div>The request to serve pt-PT content to pt users came from our pt-PT community. Adding Cláudio.<br><br></div><div>Before
we proceed, it would be valuable if we could get data on how many pt
visitors we get in comparison to pt-PT and pt-BR.<br></div><div><br></div>-Matjaž</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 6:17 PM, Richard Newman <span dir="ltr"><<a href="mailto:rnewman@mozilla.com" target="_blank">rnewman@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>That list is from<br></div><div><br></div><div> intl/locale/language.properties</div><div><br></div><div>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.</div><div><br></div><div>The default Accept-Language header will also differ between Gecko/desktop and each mobile platform.<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 7:19 AM, Shane Tomlinson <span dir="ltr"><<a href="mailto:stomlinson@mozilla.com" target="_blank">stomlinson@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span><div>> Firefox desktop is built for hi-IN, pt-PT, pt-BR. You can grab single-locale builds for those locales:<br><br></div></span>If I open about:preferences#content, I can only add `hi` or `pt` under languages. I see neither hi-IN nor pt-PT. <br><br>Perhaps that's an issue with the en-US build, obviously a discrepancy exists somewhere.<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">Shane<br><div><div><div><br></div></div></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 3:00 PM, Richard Newman <span dir="ltr"><<a href="mailto:rnewman@mozilla.com" target="_blank">rnewman@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Firefox supports neither hi_IN nor pt_PT, only hi and pt.</div></div></div></div></div></blockquote><div><br></div></span><div>I'm not sure this is a true statement.</div><div><br></div><div>Firefox desktop is built for hi-IN, pt-PT, pt-BR. You can grab single-locale builds for those locales:</div><div><br></div><div> <a href="http://ftp.mozilla.org/pub/firefox/releases/42.0b9/mac/" target="_blank">http://ftp.mozilla.org/pub/firefox/releases/42.0b9/mac/</a><br></div><div><br></div><div>The Accept-Language header that the pt-BR build sends will perhaps (I haven't checked) be something like</div><div><br></div><div> pt-BR,pt,en-US</div><div><br></div><div>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.</div><div><br></div><div>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.</div><span><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div> 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.<br></div></div></div></div></div></blockquote><div><br></div></span><div>… but that's true :)</div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>