GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
|
@yurydelendik This patch has been merged upstream in the meantime. Could you review this so we can merge it here too? |
da258f8
into
mozilla:master
|
Thank you for the patch! |
Rob--W commentedFeb 2, 2015
RFC 4646 specifies that language tags should be treated case-insensitively, so the previous work-around to #4335 is insufficient: The patch should not be added to compatibility.js, but become a part of the l10n library.
See "Case-insensitive language comparisons per RFC 4646" @ fabi1cazenave/webL10n#51
(I've created this patch because I've noticed that
navigator.languageis lowercase in Chrome 40: https://code.google.com/p/chromium/issues/detail?id=454331)