Announcing the Ubuntu.com Website Localization Project

Jamal jfanaian at gmail.com
Fri Mar 19 13:10:04 GMT 2010


On Thu, Mar 18, 2010 at 11:00 AM, Stas Sușcov <stas at nerd.ro> wrote:

> Regarding client side `HTTP_ACCEPT_LANGUAGE`:
> try this in your browser:
> ---
> javascript:alert(navigator.language);
> ---
> worked for chromium and ff.
>

I mentioned before that you can get the user's language using Javascript.
The problem is that if they change their preferred language, or specify a
language other than the one the browser has by default, it will not report
it. Try to change your preferred language and see if it works.

--
Jamal Fanaian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/loco-contacts/attachments/20100319/a4582c76/attachment.htm 


More information about the loco-contacts mailing list