Calling I18n.reload! causes the next call to I18n to load all the
locale data, which can be quite slow when there are a lot of
translations in your project. By setting the path when I18n loads, we
can avoid reloading invalidating the cache w/ I18n.reload!.
Calling
I18n.reload!
causes the next call toI18n
to load all the locale data, which can be quite slow when there are a lot of translations in your project. By setting the path when I18n loads, we can avoid reloading invalidating the cache w/I18n.reload!
.cc @rafaelfranca