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

Ensure language ID starts with language and script #185

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Conversation

simoncozens
Copy link
Contributor

Fixes #175 and catches similar issues.

@simoncozens simoncozens merged commit 1037e30 into main Nov 1, 2024
11 checks passed
@pytest.mark.parametrize("lang_code", LANGUAGES)
def test_id_well_formed(lang_code):
if lang_code in ["tw_akuapem_Latn"]:
pytest.xfail("Well we need to have a conversation about that")
Copy link
Contributor

Choose a reason for hiding this comment

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

☝️

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah. We don't really have a schema for dialects in the same way that we have a schema for regional variants. I need understand from @moyogo why we want Akuapem Twi to be this and not, say, just plain tw_Latn (I think it's the prestige dialect) - particularly since we don't have any other tw_Latns to distinguish this from.

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.

Harari language should have language code "har"
2 participants