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
Language.is_valid
True
is_valid returns True for an invalid tag if all its subtags are prefixes of valid subtags.
is_valid
>>> Language.get('aaj').is_valid() True >>> Language.get('en-Latnx').is_valid() True
The text was updated successfully, but these errors were encountered:
Oh, wow. Thanks for finding that, and I'll work on it.
Sorry, something went wrong.
Fixed in master, and I'll release it soon.
No branches or pull requests
is_valid
returnsTrue
for an invalid tag if all its subtags are prefixes of valid subtags.The text was updated successfully, but these errors were encountered: