Hey Sven, Thanks for adding this to the rails-i18n wiki! Hopefully it will prove usefull to someone. In the mean time I created a little i18n helper plugin that sets the locale and loads the translations for SimpleBackend. If you install this plugin, it adds the ability to use ?locale=en-US, like in the demo app, but then as a plugin. It's at the following location:
http://github.com/japetheape/i18n_helper/tree/master I write a blogpost about it this evening. Kind regards, Jaap van der Meer On Sep 17, 2008, at 2:00 PM, Sven Fuchs wrote: > > Hey Jaap, > > welcome to the list. > > Wow, this looks like a great contribution! I love how the tools layer > is already stacking up even though nothing has been released so far :) > > I've listed this on the rails-i18n wiki: http://rails-i18n.org/wiki > > Thanks a lot! > > > On 16.09.2008, at 20:13, Jaap van der Meer wrote: > >> >> Hi all, >> >> I wrote: gettext_to_i18n, it is a Rails plugin that converts a >> application, making use of Gettext calls, to I18n calls in >> combination >> with SimpleBackend. We needed this to convert our complete >> application >> to the I18n api. It is a bit experimental (it does the job for us), >> but I am sure there will be more people who are going to convert from >> gettext to I18n with SimpleBackend and we therefore decided to share >> this convertor. >> >> I wrote a article about it on our development weblog: >> http://techblog.floorplanner.com/2008/09/16/converting-a-rails-application-from-gettext-to-i18n/ >> >> If you want to contribute: >> http://github.com/japetheape/gettext_to_i18n/tree/master >> >> Hopefully this will make someone's life easier! >> >> Kind regards, >> Jaap van der Meer >> >>> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
