Rake Tasks for the Translate Plugin

We’ve added two Rake tasks to the Translate plugin. The lost_in_translation rake task helps find I18n keys in lookups in your code that are missing from your default locale YAML file (i.e. config/locales/sv.yml in our case). The merge_keys Rake task is used in conjunction with Sven Fuchs’s Rails I18n Textmate bundle to move extracted keys and texts into their config/locales YAML file. Those two rake tasks have been quite helpful in our I18n work here at Newsdesk so we figured that we should share them with the community.

Posted by peter Posted in Ruby on Rails Tagged , ,
blog comments powered by Disqus