We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a language code of en-ca, the following currently happens:
en-ca
code = "en-ca" tag = langcodes.get(code) # Language.make(language='en', territory='CA') display_name = tag.display_name() # 'English (Canada)' tag = langcodes.find(display_name) # <- .find does not capture the territory, yielding Language.make(language='en')
Is there any way .find could correctly get the territory from the display name?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given a language code of
en-ca
, the following currently happens:Is there any way .find could correctly get the territory from the display name?
The text was updated successfully, but these errors were encountered: