# Add alias support to emoji picker

**URL:** https://meta.discourse.org/t/add-alias-support-to-emoji-picker/86503
**Category:** Feature
**Created:** [01.Май.2018 02:18:16 UTC](https://meta.discourse.org/t/add-alias-support-to-emoji-picker/86503 "2018-05-01T02:18:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [01.Май.2018 02:18:16 UTC](https://meta.discourse.org/t/add-alias-support-to-emoji-picker/86503/1 "2018-05-01T02:18:16Z")

</div>

Twitter have alias support in the Emoji picker, it means that:

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/f/dfa6056a2670814736dc355d9f1dee1480886633.png)

VS, what we have now:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/8/b80278a857bdd6069d61c9aa34d7a182223d74fd.png)

It would be nice to have support for aliases on Discourse.

Note we should probably also add this as a fallback for `:` completion.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [01.Май.2018 04:50:05 UTC](https://meta.discourse.org/t/add-alias-support-to-emoji-picker/86503/5 "2018-05-01T04:50:05Z")

</div>

Going to close this cause reading the code this is already supported, so the problem here is that we simply do not have enough aliases.

So for example `:skel` will show `skull`

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [01.Май.2018 04:50:10 UTC](https://meta.discourse.org/t/add-alias-support-to-emoji-picker/86503/6 "2018-05-01T04:50:10Z")

</div>



---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [01.Май.2018 13:45:49 UTC](https://meta.discourse.org/t/add-alias-support-to-emoji-picker/86503/7 "2018-05-01T13:45:49Z")

</div>

While waiting for imports during the day 😛 I implemented search aliases: [FEATURE: adds emoji search aliases · discourse/discourse@691174f · GitHub](https://github.com/discourse/discourse/commit/691174fa8f7c6ed89f0786e079ffa43f8416fb1a)

@sam I let you add the aliases you think are needed, the process is simple:

- add aliases here [https://github.com/discourse/discourse/blob/master/lib/tasks/emoji.rake#L18](https://github.com/discourse/discourse/blob/master/lib/tasks/emoji.rake#L18)
- run `bundle exec rake emoji:update`
- commit

For others reading this, I prefer us going with search aliases in this case, aliases as we already have them will actually generate images, while search aliases is only a mapping of keywords to already existing emojis.

 ![56](https://global.discourse-cdn.com/meta/original/3X/0/c/0cadbc00293a40f3bd51756f2628bc1bb28b941a.png)

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [01.Май.2018 21:40:22 UTC](https://meta.discourse.org/t/add-alias-support-to-emoji-picker/86503/8 "2018-05-01T21:40:22Z")

</div>

The Unicode Consortium actually has [a lot of resources](https://unicode.org/emoji/charts/index.html) regarding emojis. One of them is a list of emojis with keywords that could be used as search terms in the emoji picker. And there are even [translations for emoji names and keywords](https://www.unicode.org/cldr/charts/latest/annotations/index.html).
