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've updated r18n gems from 1.1.0 to 1.1.3 and now when I'm changing locale the first translation on page is still in previous locale, but other translations are in current locale. After refreshing page everything is ok.
Also in development environent everything is working too thanks to reload_r18n filter, when I disable it I can reproduce the issue above.
I change locales using this action in controller (simplified):
I've updated r18n gems from 1.1.0 to 1.1.3 and now when I'm changing locale the first translation on page is still in previous locale, but other translations are in current locale. After refreshing page everything is ok.
Also in development environent everything is working too thanks to
reload_r18n
filter, when I disable it I can reproduce the issue above.I change locales using this action in controller (simplified):
In view if I write
On first request without changing locale I'll get
When I'll try to change locale to
:ru
After just page refresh
As a workaround, I've added
prepend_before_filter :set_locale
:And now it seems to be working fine.
The text was updated successfully, but these errors were encountered: