coderifous / jquery-localize

a jQuery plugin that makes it easy to internationalize your web site.
465 stars 142 forks source link

language variant codes are not handled #86

Open oSoMoN opened 8 years ago

oSoMoN commented 8 years ago

On top of the current limitations with language codes (issues #50 and #47), it appears jquery-localize doesn’t handle language variant codes (see section 2.2.5 of BCP 47).

An example of such a language code is "ca-ES-valencia", meaning the variant of Catalan spoken in the region of Valencia, Spain.