Skip to content

Conversation

@lhoestq
Copy link
Member

@lhoestq lhoestq commented Jul 27, 2022

Following (internal) https://github.com/huggingface/moon-landing/pull/3509, we need to move the bcp47 tags to language_bcp47 and keep the language tag for iso 639 1-2-3 codes. In particular I made sure that all the tags in languages are not longer than 3 characters. I moved the rest to language_bcp47 and fixed some of them.

After this PR is merged I think we can simplify the language validation from the DatasetMetadata class (and keep it bare-bone just for the tagging app)

PS: the CI is failing because of missing content in dataset cards that are unrelated to this PR

@lhoestq lhoestq requested a review from julien-c July 27, 2022 13:31
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jul 27, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

I skimmed through it and it looks good to me 🙂

@lhoestq lhoestq merged commit aa48a29 into main Jul 27, 2022
@lhoestq lhoestq deleted the add-language_bcp47-tag branch July 27, 2022 14:37
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

Successfully merging this pull request may close these issues.

4 participants