Good day, > >> Regarding client side `HTTP_ACCEPT_LANGUAGE`: >> try this in your browser: >> --- >> javascript:alert(navigator.language); >> --- >> worked for chromium and ff. >> > Do not work for ie 8, it shows a message "undefined". > > This script works on internet explorer 8 and firefoxf 3.6 var userLang = (navigator.language) ? navigator.language : navigator.userLanguage; alert ("The language is: " + userLang);
a reference link: http://www.javascriptkit.com/javatutors/navigator.shtml -- Eivar A. Montenegro. M. ¡El mundo es mejor cuando eres libre de elegir! Linux user: #461766
-- loco-contacts mailing list loco-contacts@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/loco-contacts