-
-
Notifications
You must be signed in to change notification settings - Fork 495
Open
Description
Hi everyone,
the locale for invitation emails triggered by the api resource /api/v1/users/invite
is always English and I cannot make it works with other locales (it in my case).
The call to the api is done with:
$ curl -X POST -H "X-Token: $TOKEN" -F'emails=<email>' -F'role=user' -F'message=<message>' https://<domain>/api/v1/users/invite
In configuration files config/environments/*
I tried to set the following configuration:
config.i18n.default_locale = :it
config.i18n.locale = :it
config.i18n.fallbacks = true
And in file config/initializers/default_settings.rb
I also tried:
AppSettings.defaults["i18n.default_locale"] = "it"
AppSettings.defaults["i18n.locale"] = "it"
AppSettings.defaults["i18n.available_locales"] = ["it","en","es","fr","de","fi"]
but nothing helped: I keep receiving invitation emails in English.
Thank you,
Stefano
Metadata
Metadata
Assignees
Labels
No labels