karang
List of all default ecto changeset errors for internationalization
Hello, I am working on a Phoenix app that needs to work with a few different languages. I really appreciate that gettext works out of the box. It is a nice experience. I was just wondering if there is a list of default ecto changeset errors? I have been translating the errors as I see them come up in my forms (ex: “can’t be blank”) but I think I may be missing some that might come up in the future. Would be cool to have a repo with translations for different laguages so we don’t all have to do this ourselves everytime. I would contribute for sure!
Marked As Solved
Also Liked
nathanl
@karang You were asking about a repo that has translations to other locales, right? Like
# in es/LC_MESSAGES/errors.pot
msgid "can't be blank"
msgstr "no puede estar en blanco"
I was just wondering the same thing - does such a repo exist? It seems silly for every app that uses Elixir to repeat the work of translating these standard messages into N languages.
nathanl
Last Post!
florish
Hey, that’s great! I stumbled upon this thread and your repo while searching for Ecto error message translations.
Dutch (NL) translations pull request should be ready to merge.
Popular in Questions
Other popular topics
Latest Phoenix Threads
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









