I18n is not working


#1

I have a locale file at: config/locales/en.yml with the following:

en:
  interactors_errors:
    actor_required: "Actor required"
    account_id_required: "Account ID not found"
    account_not_found: "Account %{account_id} not found on the database"

and when I try: I18n.t("interactors_errors.actor_required")
Im always getting: "translation missing: en.interactors_errors.actor_required"

any help?

Thanks!


#2

Interesting. Unsure. Guessing there’s some setup code that needs to be done. Will be crazy swamped for a while, so unsure if will be able to dig further for a while.

This may be a good clue:

Hope that helps!


#3

That worked like a charm!

Thank you!