-
-
Notifications
You must be signed in to change notification settings - Fork 637
Fixes #669: use the language-tags
package to check the lang
rule
#670
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
Conversation
The `language-tags` package provides language tag validation functionality based on the latest IANA language subtag registry. This PR makes use of this package instead of manually parsing tags like before. File `src/util/attributes/ISO.json` is removed then. Signed-off-by: imtsuki <[email protected]>
2 similar comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks great to me
As there's no response for a while, I'll close this PR. |
Let’s please leave it open; there’s no expiration date on PRs and I’d still like to get it in :-) |
@imtsuki apologies for the delay in response. This is a great change; thank you for proposing it! |
Co-authored-by: Jordan Harband <[email protected]>
The
language-tags
package provides language tag validation functionality based on the latest IANA language subtag registry.Instead of manually parsing tags like before, this PR makes use of this package and makes the
lang
rule more exhaustive and more robust. Filesrc/util/attributes/ISO.json
is removed then.Signed-off-by: imtsuki [email protected]