On 02.10.2008, at 21:15, iain hecker wrote:
> I seem to have missed that too! There hasn't been any announcement
> here as far as I know.
I've been pretty sure I've sent a notice to the list, but looking at
the archives I can not find anything either.
Sorry about that :(
This was the outcome of this discussion:
http://groups.google.com/group/rails-i18n/browse_thread/thread/4057b418355121ad
... as well as our work on Globalize.
It was necessary to "lazy-load" translations, i.e. to defer the actual
loading process to the latest possible point. This way you can
exchange the backend or do other interesting stuff in both plugin/init
stage and config/initializer stage ... that was not possible before
without blackmagic tricks.
On 25.10.2008, at 10:58, Karel Minarik wrote:
> Why do you think reloading locales should be neccessary? When you
> restart the app, it's reloaded automatically. I can't see any reason
> to add & reload locale definitions "on the fly".
Really?
> Please, *do not use session for storing the locale!!!*, follow this
> discussion:
> http://groups.google.com/group/rails-i18n/browse_thread/thread/de73dbd1309ae640/3344e4dbcb226cdf?lnk=gst&q=restful#3344e4dbcb226cdf
>
> [See, Sven? :) It's *unbelievable* how bad practices spread like
> bushfire, while good practices freeze in hell :) I probably will set
> out to fix the Clemens' demoapp myself.]
LOL :)
I guess Clemens is currently superbusy with his thesis and stuff so he
might appreciate that a lot.
You're right we should do something about it.