# Gettext basic usage

**URL:** <https://forum.elixirforum.com/t/gettext-basic-usage/30570>\
**Category:** Questions\
**Tags:** phoenix, gettext\
**Created:** [April 12, 2020, 7:27pm UTC](https://forum.elixirforum.com/t/gettext-basic-usage/30570 "2020-04-12T19:27:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sfusato](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sfusato/32/11569_2.png) [@sfusato](https://forum.elixirforum.com/u/sfusato)\
**Post date:** [April 13, 2020, 5:03pm UTC](https://forum.elixirforum.com/t/gettext-basic-usage/30570/4 "2020-04-13T17:03:54Z")

</div>

From where did you got the config setting?

`config :myApp, MyAppWeb.Gettext, locales: ~w(en fr es)`

I’m asking because I’m not seeing it in the [documentation](https://hexdocs.pm/gettext/Gettext.html#module-backend-configuration). Perhaps that’s what created your issues?

For a Phoenix project, you don’t need to add any configuration as it comes pre-configured in `myapp_web/gettext.ex`

---

_[View the full topic](https://forum.elixirforum.com/t/gettext-basic-usage/30570)._
