Skip to main content

Keep Your I18n Translation Files Tidy

Blog post   •   Jan 18, 2010 15:33 GMT

I added the Rake task translate:remove_obsolete_keys that lets you remove all obsolete translations from your YAML files. How is a translation rendered obsolete? Suppose you are translating from english to a number of other languages. Over time you may end up removing a number of I18n keys from the english translation file as your application evolves. The Rake task lets you remove those keys for all locales so you don't have to do that manually.

Comments (2)

Add comment

Comment