Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix translation installation for locales with script name #2565

Merged
merged 1 commit into from Oct 8, 2021

Commits on Sep 8, 2021

  1. fix translation installation for locales with script name

    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
    ultrabug committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    0ba5c5a View commit details
    Browse the repository at this point in the history