Rails plugin updated

We have updated our Rails integration plugin to allow combining translations from different sources into one file readable by rails from RAILS_HOME/config/locales.

The plugin adds another task to your rake tool rake trans:update_all. The plugin is updated in the public Git repository at GitHub http://github.com/99translastions/ruby-tools/tree/master. So please check it out and play with it.

That task scans all plugins that you use in your rails application to find all of them that have public projects at 99translations.com and downloads all newest translations from the server merging them all together in 1 big translation file under RAILS_HOME/config/locales.

After that process is done it downloads freshest translations for Rails and then adds your own project’s translations. So you have a mechanism of getting all up-to-date translations at the same time.

Plugin diagram

I am going to continue this topic with real world example in next few days

Tags: , , ,

Leave a Reply