Thank you very much for your message. I discovered actually that someone had
developed an i18n debug Gem that is very helpful to troubleshoot this.
I discovered actually that some keys where missing and that for some reason
i18n was first relying on the fallback locale instead of looking in the
>From the code you can see it uses internationalization
https://github.com/plataformatec/devise/blob/098345aace53d4ddf88e04f1eb2680e2676e8c28/app/controllers/devise_controller.rb#L182
You can do something like this on an initializer so override the I18n
lookup method to print each key it tries to
Sure, my application.rb contains the following:
config.i18n.available_locales = [:en, :fr]
config.i18n.default_locale = :en
config.i18n.fallbacks = [I18n.default_locale]
The last line of your application.rb comes from heroes Gem, which I do not use.
On your website, are you sure the
On Thursday, December 26, 2019 at 6:17:23 PM UTC-5, Cédric Lefebvre wrote:
>
> I have deployed devise & devise-i18n to internationalize devise.
> Everything works well - including all the i18n - except that flash messages
> generated by devise do not get translated
>
> => messages generated by
I get very strange behavior from webpacker If something works then I change
it, then it's broken so I undo my changes and save the file back the way it
was, now things are still broken and stay broken until I restart my
computer Have tried clearing browser cache, restarting webpack-dev-server,
5 matches
Mail list logo