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

Language code: exception and support of "set 1" language code of ISO 639 #55

Open
s-celles opened this issue Dec 9, 2024 · 0 comments

Comments

@s-celles
Copy link

s-celles commented Dec 9, 2024

Hi,

I'm trying the following

julia> using Languages
julia> Languages.from_code("eng")
Languages.English()
julia> Languages.from_code("en")
# returns nothing

It's a bit odd to return nothing but not raising an exception.

According to https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes en is a valid language code (set 1)

Supporting the whole standard should probably be considered

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant