-
-
Notifications
You must be signed in to change notification settings - Fork 117
[Feature] Emoji names internationalization #75
Comments
Unfortunately, I haven't seen this data available anywhere. The Emoji data file from Unicode that I use to generate the data is only in English. Plus, with over 1,500 emojis, that would be a lot of localized names to include in the bundle - which would make it even bigger than it already is. I don't think this is practical to do at this point. I suppose I could add an extension point to change the displayed name of emojis, they could do it on their own, but that's a lot of strings to translate 😄 Will flag this as a possible future enhancement, as there may be other use cases where people would want to change the display names of certain emojis. |
Hello, Popping into the thread to say that I have this package that generate internationalized emoji names directly from the official repo https://github.com/Armaldio/localize-emoji-db Any contribution to the package is welcome too! |
Thanks for the library! I think what we can support locale data without increasing the main bundle is let user to provide the data
import frEmojiData from 'emoji-button/locale-data/fr';
const emojiButton = new EmojiButton({
localeData: frEmojiData
});
in this case it won't be included in main bundle and user decide which locale data to display/search. For locale data, we are using https://www.unicode.org/Public/emoji/12.0/emoji-test.txt, wonder we could probably use the English file generated here as a based and use @Armaldio 's cldr data to replace the emoji name . Would probably need https://github.com/Armaldio/localize-emoji-db to abstract Happy to help generate all those data by locale if this direction is good :) |
Thanks a lot for this library! As a workaround, is it currently possible to modify the emoji list used by the package? |
@qortex @bmarsaud let me know if the new function supports works for you :) |
Emoji names internationalization has been done in LibreOffice, cf. Add translation support for short names of Emoji and other symbols. @laszlonemeth can you please provide a link that has the translations of emoji's for other locales used in LibreOffice? Perhaps these translations can be used in this repo? This would also help with localising Jami as it uses this repo, cf. https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/115#note_28054. Jami currently has 94 languages https://www.transifex.com/savoirfairelinux/jami Thank you |
@joeattardi can the headings and fields in your emoji picker please be translatable?
Cf. https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/381 @joeattardi do you prefer that a new issue is created about the heading and field in your emoji picker? Thank you once again |
@ovari Headings, category names, etc.are able to be translated now, see https://emoji-button.js.org/docs/i18n As for the emoji names themselves, I am currently in the midst of a big refactoring effort for the upcoming 5.0 release, as of now I do plan on having localization data as part of that release. Stay tuned! |
Thank you @joeattardi for your comment at #75 (comment). Does that related to 5d6eefb? Where and how do we add the strings to https://emoji-button.js.org/docs/i18n/ for the Should 3-character ellipses ( Thank you |
Here's an update on i18n. For v5, I am using the This new data source contains localized category and emoji names for the following locales: https://github.com/milesj/emojibase/tree/master/packages/data Basically, for v5, you will import a particular locale from a new package, I'm not sure about a time frame yet for a 5.0 release but work is in progress. |
Can programs, like Jami, include all the locales? Then if the locale is changed, the Emoji picker will show in the changed language (as long as the language is at https://github.com/milesj/emojibase/tree/master/packages/data). |
When version 5 comes out, it will support localized emoji names for all languages in the Unicode CLDR: https://github.com/unicode-org/cldr/tree/master/common/annotations There are a lot of languages, however: unfortunately Unicode doesn't seem to provide localized names for the categories. And even if they did - Emoji Button has two additional, non-standard categories: So you would have to provide translated category names for all the locales you wish to support, but the emoji names themselves will be good to go. Currently the language can only be specified when creating an You can see the progress of v5 here: https://github.com/joeattardi/emoji-button/projects/3 |
Thank you for your comment and link to your progress. In English, there is no plural of Can the Hungarian translations of
Other language translations can be found at Microsoft Language Portal Terminology Search. What do you think? Thank you |
@Armaldio do translations of If so, would that mean that the translations would then be available in the Emoji picker? Thank you |
Sorry, I misspoke. The actual English label is "Recent Emojis". |
Hungarian translation: |
This is fixed in the upcoming 5.0.0 release. Will close the issue upon release. |
@joeattardi, thank you for your comment. Where can we provide the Hungarian translations for:
Thank you |
Currently all the strings you see in See https://picmojs.com/docs/usage/i18n for more details about translations. You just need to create a module that exports translated strings for those message keys. You can then import that module and pass it as the (A PR adding the language bundle is appreciated as well!:) ) |
This issue is resolved in |
We would be honored to provide the Hungarian translations; however, if understood correctly there is some logic required. Should a new issue be created about adding the logic to have the localization within your program? If all that is required is for the Hungarian translations to be provided in a file somewhere in this repository, please advise the location so they can be provided. Thank you |
Hi, does anyone knows how to implement in DECIDIM the translation for search: 'Search emojis...', Thank you. |
I don't know what DECIDIM but it's just a JSON file, so I guess I don't understand the question? |
Would be nice to have the names of the emojis with a customizable language (French for me).
Maybe it's available in the emojis source packages?
The text was updated successfully, but these errors were encountered: