gerhard
(Gerhard Schlager)
5월 2, 2018, 9:15오후
1
Continuing the discussion from Add alias support to emoji picker :
Our Emoji picker could be greatly improved by adding support for English and translated search aliases. The Unicode Consortium provides all the data we need:
This feature consists of two parts:
Doing all the aliases properly for English
Adding support for per locale aliases, so you can type :sourire in French on French sites and get in the window.
I’m putting it on my list.
16개의 좋아요
j.jaffeux
(Joffrey Jaffeux)
5월 3, 2018, 6:57오전
4
Just as a note here, we need it to be lazy loaded, this is why I haven’t been doing it yet.
7개의 좋아요
sam
(Sam Saffron)
5월 3, 2018, 8:21오전
5
I think it is fine to have alias.en and alias.de etc… files, so we can lazy load per locale.
4개의 좋아요
Isn’t this complete @gerhard ?
gerhard
(Gerhard Schlager)
1월 23, 2019, 9:04오전
7
No, not yet. I decided to work on it next month because it was moved to the next release.
5개의 좋아요
Falco
(Falco)
4월 13, 2019, 9:01오후
8
Just found out about this “public” list of translated emoji aliases: Translations
3개의 좋아요
SvenC56
(Sven)
5월 14, 2020, 8:24오전
9
안녕하세요
일반적인 질문이 있습니다. 커스텀 이모지 그룹을 만들었는데, 이 번역 키를 어떻게 오버라이드하나요?
감사합니다.
j.jaffeux
(Joffrey Jaffeux)
5월 16, 2020, 6:43오전
10
현재 테마나 컴포넌트에 번역을 추가해야 하며, 귀하의 경우 다음과 같은 형태가 될 것입니다:
<script>
I18n.translations.en.js.emoji_picker.twitch = "Twitch";
</script>
de에 대해 다른 이름이 필요하면 de도 추가할 수 있습니다.
@gerhard 이 부분에 대해 여쭤본 것입니다. 관리자によって 설정된 사용자 정의 그룹 이름이라는 점을 고려할 때, 이를 달성하는 더 나은 방법을 보시나요?
7개의 좋아요
gerhard
(Gerhard Schlager)
5월 16, 2020, 2:46오후
11
생각할 수 있는 가장 쉬운 해결책은 번역을 찾을 수 없는 경우 사용자 정의 그룹 이름을 사용하는 것입니다. 제가 발견한 유일한 문제는 그룹 이름이 소문자로 변환되는 것 같습니다.
I18n.t("emoji_picker.twitch", { defaultValue: "twitch" })
더 복잡한 해결책은 SiteTextsController와 TranslationOverride가 사용자 정의 이모지 그룹 이름(또는 런타임에 추가해야 하는 기타 사용자 정의 번역)과 함께 작동하도록 만드는 것입니다.
2개의 좋아요
j.jaffeux
(Joffrey Jaffeux)
5월 16, 2020, 3:55오후
12
Cool은 언젠가 두 번째 항목을 조사해볼 수도 있겠네요. 감사합니다.
2개의 좋아요
SvenC56
(Sven)
5월 16, 2020, 4:58오후
13
안녕하세요, 방금 console.log(I18n.translations.en.js)를 실행했는데 다음과 같은 결과가 출력됩니다:
제 환경에서는 emoji_picker가 번역용으로 사용 불가능한 것 같습니다. 또한 테마 헤더에 해당 코드를 붙여넣어도 아무런 효과가 없습니다.
감사합니다.
1개의 좋아요
sam
(Sam Saffron)
8월 19, 2021, 2:47오전
16
이 문제는 다음 링크에서 다시 보고되었습니다: (현재 닫힘)
Today I was trying to find the emoji (officially called party popper , but shorted to ) and muscle memory (with MacOS) has me trained to expect finding it by searching for party:
[image]
However, Discourse’s emoji picker doesn’t find it for the same search term, even if it is part of the emoji name.
[Screenshot 2021-08-16 at 11.28.20]
Perhaps the emojis official names could be an alias to each emoji (when they differ from the short version) to improve search on the emoji picker…
우리는 이 문제를 우선순위로 두고 다음 릴리스에서 처리할 예정입니다.
4개의 좋아요
master ← vinothkannans:search_aliases
merged 03:53PM - 21 Oct 21 UTC
@j.jaffeux emoji-db 저장소에 검색 별명을 포함하도록 PR을 생성했습니다.
5개의 좋아요
Falco
(Falco)
4월 2, 2026, 9:16오후
25
이 내용은 다음 풀 리퀘스트에서 구현되었습니다:
main ← feature/telegram-locale-search-aliases
merged 04:19PM - 06 Apr 26 UTC
## 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)
main ← feature/locale-emoji-search-aliases
merged 05:08PM - 06 Apr 26 UTC
## 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 페이로드를 160KB 줄이는 버그가 해결되었습니다
이 변경사항은 포괄적인 로컬라이즈된 검색 별칭을 도입합니다.
4개의 좋아요
Falco
(Falco)
4월 6, 2026, 5:50오후
26
일부 언어에 대한 로컬라이즈된 이모지 별칭 지원을 병합했습니다. 이제 마침내
그리고
4개의 좋아요
Falco
(Falco)
에 닫힘
4월 20, 2026, 11:00오전
27
이 주제는 13일 후 자동으로 닫혔습니다. 더 이상 답변을 남길 수 없습니다.