(would you include <a href="mailto:ubuntu-website@lists.canonical.com">ubuntu-website@lists.canonical.com</a> in replies? I'll make sure your messages get through)<br><br>It shows en-us on my PC but my preferred lang is en-gb.<br>
<br>What we're looking for should look something like: en-gb, en-us;q=0.8, en;q=0.5<br><br>I agree that geoip is not a good solution because I really dislike how some of my favourite websites change to a different language when I'm in a different country. I wish I could magically learn Spanish simply by visiting Spain for a few days. :-)<br>
<br><div class="gmail_quote">On Thu, Mar 18, 2010 at 11:01 AM, Eivar Montenegro Mosquera <span dir="ltr"><<a href="mailto:e.mont01@gmail.com">e.mont01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Good day,<br><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div><div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Regarding client side `HTTP_ACCEPT_LANGUAGE`:<br>
try this in your browser:<br>
---<br>
javascript:alert(navigator.language);<br>
---<br>
worked for chromium and ff.<br></blockquote></div></div><div>Do not work for ie 8, it shows a message "undefined".<br><br></div></div></blockquote></div>This script works on internet explorer 8 and firefoxf 3.6<br>
var userLang = (navigator.language) ? navigator.language : navigator.userLanguage;<br>
alert ("The language is: " + userLang);<br><br>a reference link:<br><a href="http://www.javascriptkit.com/javatutors/navigator.shtml" target="_blank">http://www.javascriptkit.com/javatutors/navigator.shtml</a><br clear="all">
</div><div><div></div><div class="h5"><br>-- <br>Eivar A. Montenegro. M.<br>ĦEl mundo es mejor cuando eres libre de elegir!<br>Linux user: #461766<br>
</div></div><br>--<br>
loco-contacts mailing list<br>
<a href="mailto:loco-contacts@lists.ubuntu.com">loco-contacts@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/loco-contacts" target="_blank">https://lists.ubuntu.com/mailman/listinfo/loco-contacts</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Matthew Nuzum<br>newz2000 on freenode, skype, linkedin, <a href="http://identi.ca">identi.ca</a> and twitter<br>