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

[upstream bug] “facing right” emoji translations at unicode.org are missing the skin tone #310

Open
cvzi opened this issue Nov 9, 2024 · 0 comments

Comments

@cvzi
Copy link
Contributor

cvzi commented Nov 9, 2024

The unicode CLDR translations currently have no skin tone for right-facing emoji
e.g.: 🧑🏽‍🦼‍➡️ should be
person in motorized wheelchair facing right: medium skin tone
but it is currently translated as:
person in motorized wheelchair facing right.

Upstream issues: unicode-org/cldr#4213 https://unicode-org.atlassian.net/jira/software/c/projects/CLDR/issues/CLDR-18056

Currently our data has manual translations for those emoji and ignores the wrong unicode translations.

When the issue at unicode is resolved, the update script needs to be changed to overwrite our manual translations with the official translations:

if '\U0000200d\U000027a1' in emj:
# TODO Skip right-facing emoji (i.e. 🧑🏻‍🦽 vs 🧑🏻‍🦽‍➡️) for now because they are not correctly translated yet
# TODO They are currently missing the skin-colour information in the translations.
print(
f'# {lang}: {emj} SKIPPED CHANGE FROM {data[emj]} TO {emoji_name} \t\t(Source: {text})'
)
continue

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