Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix translation installation for locales with script name (#2565)
when a locale like zh_CN is parsed by babel.core.Locale, the result Locale is zh_Hans_CN which is then used to find out if translations exist for this locale name the Hans part is the guessed script name part of the babel Locale but is almost never contributed as translation locale name so we have to make sure what we look for the language + territory locale name instead of the fully parsed name from babel
- Loading branch information