Skip to content

Add instructions on how to get localized emoji data #899

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rejas
Copy link

@rejas rejas commented Mar 4, 2024

First: Thanks for the nice library!

I wanted to get the emoji data in german (and search for german terms). Couldnt find anything on the page (only stuff about i18n the UI).

Luckily I found some comments in this issue that helped me get this done.

Huge thanks to @baumerdev for that script and instructions.

Maybe this PR can help other people get their emoji data translated in their apps.

2. Download https://raw.githubusercontent.com/unicode-org/cldr-json/main/cldr-json/cldr-annotations-derived-full/annotationsDerived/de/annotations.json and save it as ./cldr/de-derived.json
3. Download https://raw.githubusercontent.com/missive/emoji-mart/main/packages/emoji-mart-data/sets/14/native.json and save it as ./data.json
4. Download https://raw.githubusercontent.com/missive/emoji-mart/main/i18n/convert.mjs and save it as ./convert.mjs
5. Run node convert.mjs
Copy link

Choose a reason for hiding this comment

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

I am not sure whether it does this, but one may want to somehow merge the localized and English (search) terms at least, as you may likely want to continue be able to search for the English version, even if you use the localized version.

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.

2 participants