I18n is not working

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

    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?


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!

That worked like a charm!

Thank you!

1 Like