I cannot seem to make it work. I made a simple hex package, it uses gettext library, place a locale (with its own translations), after I published it, I created another mix app to test it, but the package seems to not doing any translation.
The weird thing is, when I use the package locally, the translation works, but when I depend from the remote hex package, the translation won’t work.
The weird thing is, when I use the package locally, the translation works, but when I depend from the remote hex package, the translation won’t work.
Sounds like either a missing configuration or mis-matched OTP configuration. Do you have a full reproducible example that we can git clone that shows the issue with steps the reproduce (like a failing testcase in that project so we can just mix deps.get && mix test)?
I don’t have an answer to your original question (I will take a look) but if spelling numbers is what you are after, my lib ex_cldr_numbers might be enough for you: