kip

kip

ex_cldr Core Team

[Proposal/poll] Emoji / annotations / CLDR localisation

CLDR has developed a lot of content to annotate emoji and other characters. I am considering a new library (ex_cldr_annotations) to expose that content. A poll is at the end of this post for anyone motivated to provide me some feedback as to whether this would be useful.

What would this library do?

  • Encode annotations (emoji) from text. For example:
iex> Cldr.Annotation.encode "why is your cat grinning?"
`["why is your ", {"😸", "grinning cat"}, "?"]`
  • Look up emoji that could be used in a live view UI. For example:
iex> Cldr.Annotation.lookup "cat"
[😸", 😹", "🙀", ...]

iex> Cldr.Annotation.lookup "Katze", locale: "de"
[😸", 😹", "🙀", ...]

And of course other functions can be added as appropriate.

Please Provide some feedback about this proposal

  • Not even slightly interested
  • Maybe helpful in the future but no clear use case for me
  • I don’t care about localisation, but emoji lookups in English would be helpful
  • Yes, good idea, I can use this to encode emojis for localised text and improve application UX

0 voters

First Post!

dimitarvp

dimitarvp

I am fully on board. People use a lot of stuff on their phones where screen space is precious so judicious use of an emoji here and there can really help both in terms of compressing more content on the same screen and making it a bit more expressive.

That being said, replacing the literal “cat grinning” text with an emoji that’s technically called “grinning cat” is confusing and I wouldn’t find it helpful. It changes the text from “Why is your cat grinning?” to “Why is your grinning cat?” which kind of sounds like Drax in “Infinity War” famously exclaiming: “WHY is Gamora?”. :003:

Where Next?

Popular in Libraries Top

tmbb
I’ve been working on two packages (not on hex.pm yet) to build admin interfaces for phoenix apps: bureaucrat - which contains a bunch ...
New
treble37
Just looking for a little feedback on a tiny helper library I built - Sometimes I find the need to convert maps with atom keys to maps...
New
OvermindDL1
Been making an MLElixir thing (not released yet…) for fun in spare time in the past day. I’m just trying to see how much I can get an ML...
132 13487 106
New
mindok
What is ContEx? A pure Elixir server-side data plotting/charting library outputting SVG. It has nice barcharts in particular and works g...
New
mcrumm
If you would like to migrate away from node/npm/webpack while still using sass, the dart_sass package provides a installer and runner for...
New
aditya7iyengar
Rummage.Ecto and Rummage.Phoenix provide ways to perform Searching, Sorting and Pagination over Ecto queries and Phoenix collections. Fo...
New
mbuhot
EctoJob A transactional job queue built with Ecto, PostgreSQL and GenStage Available on Hex.pm: ecto_job | Hex Docs: API Reference — ec...
New
bryanjos
Hi, I just published version 0.23.0 of Elixirscript. Most of the changes are around JavaScript interop now that Elixirscript uses the ...
New
tmbb
I’ve decided to create this topic to discuss optimization possibilities for something like Phoenix LiveView. I’ve created this topic unde...
New
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

Sub Categories:

We're in Beta

About us Mission Statement