forked from AuroraMiddleware/gtk
d8c79e91a2
Based on the locales that are at least 85% translated in Damned Lies: https://l10n.gnome.org/releases/gnome-41/ Limited by the locales available in emojibase Closes #4568 |
||
---|---|---|
.. | ||
convert-emoji.c | ||
da.data | ||
de.data | ||
en.data | ||
es.data | ||
fr.data | ||
gresource.xml.in | ||
hu.data | ||
it.data | ||
ko.data | ||
lt.data | ||
ms.data | ||
nl.data | ||
pl.data | ||
pt.data | ||
README.md | ||
ru.data | ||
sv.data | ||
uk.data | ||
zh.data |
Emoji data
We use Emoji data from Unicode and the CLDR, stored in a GVariant. The immediate source for our data is the json files from
https://github.com/milesj/emojibase.git
To convert the data from that repository to a GVariant that GTK can use, the convert-emoji tool can be used:
convert-emoji $emojibase/packages/data/de/data.raw.json de.data
for example (for German).
To make these usable by GTK, we wrap them in a resource bundle that has the GVariant as
/org/gtk/libgtk/emoji/de.data
and install the resulting resource bundle at this location:
/usr/share/gtk-4.0/emoji/de.gresource