I'm trying to show a text in spanish using locales, but it keeps using english as default. My code:
# config/application.rb
config.i18n.default_locale = :es
# config/locales/es.yml
es:
sections:
fashion: Moda
# haml template
= t("sections.fashion")
In the view is generating the following html: <span class="translation_missing" title="translation missing: en.sections.fashion">Fashion</span>
. Am I missing something?
Thanks in advance