-
I would like to customize the Pagy dictionary (i.e. simply change translation strings), something like this... but how can I just override the i18n dictionary? In a way to get to a solution, according to the documentation, in my config/initializers/pagy.rb file I'm trying to use
However, when I start the Rails server then I get the following error:
If this is the way to override the I18n dictionary, how should I properly state the Using bootstrap extra. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK, found the problem! In my 'config/locales/*.yml' files I had things like this causing the error:
I just changed them to this:
And the Psych-related error is gone. The I18n Pagy dictionary is overrided now and works. |
Beta Was this translation helpful? Give feedback.
OK, found the problem!
In my 'config/locales/*.yml' files I had things like this causing the error:
I just changed them to this:
And the Psych-related error is gone.
The I18n Pagy dictionary is overrided now and works.