Add const file for string
How should we manage strings within our phoenix applications? Flash messages, error messages, validation messages, etc.
If these are user facing strings then I think we should go with some type of internationalization. https://hexdocs.pm/gettext/Gettext.html Seems to be what Phoenix includes by default.
More info: https://medium.com/@erichkist/using-gettext-to-internationalize-a-phoenix-application-ceb410407ea5
@codeithuman Jumping on to what @ryanlntn said, I think I18n is the route we should go.
linguist is also an option if we want something a bit simpler than gettext.
Totally down with linguist too. I'd prefer to work in plain elixir code. There are some advantages to Gettext though like the mix gettext.extract --merge task to automatically sync all existing entries to .pot template files and merge them into locale-specific .po files. As far as I know linguist doesn't support this.
Yeah, linguist is more of a key-value store than a full-on I18n solution.