You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using devise_token_auth v.0.1.36 in a RESTful API only server application.
My default i18n locale is :fr.
While testing my application with RSpec, I keep having devise token auth error messages in english while the rest (devise and rails error messages) are correctly displayed in french.
It happens on the already_in_use key, which is defined in errors.messages.already_in_use in the locale file and called here.
By the way, I noticed that devise_token_auth doesn't really follow (which seems to be a convention among rails gems) the schema : errors.messages.<your_key> inside the locale file. I think it would be more consistent to follow this rule. What do you think ?
The text was updated successfully, but these errors were encountered:
I am using devise_token_auth v.0.1.36 in a RESTful API only server application.
My default i18n locale is
:fr
.While testing my application with RSpec, I keep having devise token auth error messages in english while the rest (devise and rails error messages) are correctly displayed in french.
It happens on the
already_in_use
key, which is defined inerrors.messages.already_in_use
in the locale file and called here.By the way, I noticed that devise_token_auth doesn't really follow (which seems to be a convention among rails gems) the schema :
errors.messages.<your_key>
inside the locale file. I think it would be more consistent to follow this rule. What do you think ?The text was updated successfully, but these errors were encountered: