Closed oSoMoN closed 8 years ago
When a language-country code was requested, do not fail early if the language only file doesn't exist.
As an example, "zh-CN" is a valid code, but "zh" alone isn’t, as there’s no generic Chinese.
Note: the approach is slightly different from https://github.com/coderifous/jquery-localize/pull/48, although it aims at fixing the same issue.
Thanks for contributing, @oSoMoN
When a language-country code was requested, do not fail early if the language only file doesn't exist.
As an example, "zh-CN" is a valid code, but "zh" alone isn’t, as there’s no generic Chinese.