Hi,

About the code provided here : 
http://code.google.com/chrome/extensions/i18n.html
function getAcceptLanguages() {
  chrome.i18n.getAcceptLanguages(function(languageList) {
    var languages = languageList.join(",");
    document.getElementById("languageSpan").innerHTML = languages;
  })
}

Can we suppose that the first element of the returned list will be the
more important language? I suppose it's similar/related to the
construction of the Accept-Language header of HTTP in some way :
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4 . Am I
right?

Cheers,

--
Jeremy

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to