# Add English and translated aliases for Emojis

**URL:** https://meta.discourse.org/t/add-english-and-translated-aliases-for-emojis/86641
**Category:** Feature
**Tags:** translation, emoji
**Created:** [02.Май.2018 21:15:22 UTC](https://meta.discourse.org/t/add-english-and-translated-aliases-for-emojis/86641 "2018-05-02T21:15:22Z")
**Posts on this page:** 1
**Showing post:** 25

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [02.Апрель.2026 21:16:59 UTC](https://meta.discourse.org/t/add-english-and-translated-aliases-for-emojis/86641/25 "2026-04-02T21:16:59Z")

</div>

Это было реализовано в следующих pull-запросах:

> <https://github.com/discourse/discourse-emojis/pull/12>
>
> \## Summary
> \- Adds a Rake task (\`emojis:telegram:import\`) that imports emoji keyw…ord aliases from Telegram's translation platform (\[translations.telegram.org\](https://translations.telegram.org/en/emoji)) for 40 locales
> \- These are \*\*search-only aliases\*\* — they enhance emoji picker search without creating file symlinks
> \- Locales with fewer than 25 emoji aliases are automatically skipped
> \- Adds \`locale\_search\_aliases\` path to \`DiscourseEmojis.paths\` so Discourse can load per-locale files
> \- Bumps version to 1.0.45
> 
> \## Context
> https://meta.discourse.org/t/add-english-and-translated-aliases-for-emojis/86641
> 
> \## Usage
> \`\`\`
> rake emojis:telegram:import\[en\]
> rake emojis:telegram:import\[en,pt-br,fr\]
> rake emojis:telegram:import\[all\]
> rake emojis:telegram:locales
> \`\`\`
> 
> \## Test plan
> \- \[\] Verify \`DiscourseEmojis.paths\[:locale\_search\_aliases\]\` points to the correct directory
> \- \[\] Verify locale JSON files have correct format (emoji\_name → \[keyword1, keyword2, ...\])
> \- \[\] Test Discourse-side integration: searching "champagne" finds \`bottle\_with\_popping\_cork\` via English aliases
> \- \[\] Test Discourse-side integration: searching "joinha" finds \`+1\` via pt-br aliases when locale is pt-br
> 
> 🤖 Generated with \[Claude Code\](https://claude.com/claude-code)

> <https://github.com/discourse/discourse/pull/39089>
>
> \## Summary
> \- Merges locale-specific emoji search aliases into \`/emojis/search-al…iases.json\` based on the user's \`I18n.locale\`, enabling emoji search in the user's language (e.g. "joinha" finds :+1: in pt\_BR)
> \- Removes unused \`search\_aliases\` attribute from \`/emojis.json\` — it was serialized but never consumed by the frontend (saves ~160KB per request)
> \- Requires discourse/discourse-emojis#12 to be merged and a gem release for locale data to be available
> 
> \## Context
> https://meta.discourse.org/t/add-english-and-translated-aliases-for-emojis/86641
> 
> \## Test plan
> \- \[\] With discourse-emojis gem updated, verify searching "champagne" in emoji picker finds \`bottle\_with\_popping\_cork\` (English locale aliases)
> \- \[\] Switch UI to pt\_BR, verify searching "joinha" finds :+1:
> \- \[\] Verify \`/emojis.json\` no longer includes \`search\_aliases\` per emoji
> \- \[\] Verify existing emoji search still works as before
> 
> 🤖 Generated with \[Claude Code\](https://claude.com/claude-code)

В процессе была устранена ошибка, которая уменьшила размер полезной нагрузки `emojis.json` на 160 КБ 😎

Это добавляет исчерпывающие локализованные алиасы для поиска.

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/d/0/0d0e1a4a157fed64f1e167f335f423b43c4d2a8a.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/8/a/88a7ce7a49bfaa047a8bf86367d081e0fee4e6d0.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/c/7/bc7ed48b07c4ca188c2ce3a64c4b5d4d67fce90b.png)

---

_[View the full topic](https://meta.discourse.org/t/add-english-and-translated-aliases-for-emojis/86641)._
