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

Modern Greek should be Greek #33

Closed
Dimkar3000 opened this issue Dec 17, 2022 · 3 comments
Closed

Modern Greek should be Greek #33

Dimkar3000 opened this issue Dec 17, 2022 · 3 comments

Comments

@Dimkar3000
Copy link

Hello 👋

This is a really useful library and I am trying to use in a project of my own.

The use case

I want to use this library to help me rename some files, to they are compatible with with my Jellyfin installation. Currently I have subtitles folders with names in the form: Movie_English.srt and I want to rename them to Movie.en.srt. This library is ideal for this.

The problem

The library Language::from_name function expect me to give Modern Greek to get the Greek language code. But by all occasion 'Modern Greek' is just 'Greek' (I just happen to be one and notice this😄 )

Solution

If you want to avoid breaking changes for this, I suggest both "Modern Greek" and "Greek" to map to the same values, otherwise just change it. The autonym field has the value "Ελληνικά" which is means Greek so the translation is correct

@humenda
Copy link
Owner

humenda commented Dec 18, 2022 via email

@humenda
Copy link
Owner

humenda commented Jan 6, 2023 via email

@humenda
Copy link
Owner

humenda commented Jan 17, 2023

There have not been any more comments on this, so I am closing this issue for the time being. If the demand should be still there, we could reopen the issue and implement this.

@humenda humenda closed this as completed Jan 17, 2023
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

2 participants