JuliaText / JuliaText/Languages.jl

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

Open
#55 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
57
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm trying the following

```julia
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.