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 Announcing Top

josevalim
Hi everyone, We would like to announce that Plataformatec is working on a new MySQL driver called MyXQL. Our goal is to eventually integ...
New
josevalim
Yes, yet another parser combinator library! Most of the parser combinators in the ecosystem are either compile-time, often using AST tra...
159 19228 141
New
mspanc
I am pleased to announce an initial release of the Membrane Framework - an Elixir-based framework with special focus on processing multim...
New
Crowdhailer
I have been updating a library that allows you to pipe between functions that use the erlang result tuple convention. Assuming you have ...
New
riverrun
I’ve just released version 3 of Comeonin, a password hashing library. The following small changes have been made: changes to the NIF c...
New
Crowdhailer
Raxx is an alternative to Plug and is inspired by projects such as Rack(Ruby) and Ring(Clojure). 1.0-rc.1 is now available. To use it re...
New
type1fool
WebAuthnLiveComponent WebAuthnComponents See this post about renaming the package. Passwordless authentication for Phoenix LiveView app...
New
handnot2
Samly can be used to enable SAML 2.0 Single Sign On in a Plug/Phoenix application. This library uses Erlang esaml to provide plug enabl...
New
woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
trisolaran
Hi! :waving_hand: I would like to present LiveSelect, a little library that I wrote to easily add a dynamic selection input to your LV f...
198 10858 107
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29377 241
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
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 43622 214
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
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
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36128 110
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

We're in Beta

About us Mission Statement