I have a big Rails app that I've I18ned. It hasn't yet been translated to any language, but I extracted 99% of the strings into yaml. They come from all over the place - views, models, JS.
There's that remaining 1%, and tracking it down is proving tricky.
I would like to take my existing yaml files and "translate" them into a new language, Lorem Ipsum. I.e, to run the files through some processor that would produce valid i18n locale YAML, with gibberish content.
I would then import these, switch to the test locale (I could call these es.yml, or whatever) and cruise through my app looking for broken formatting and English-language strings.
The only slight problem is... how do I produce this lorem ipsum file? I can't just lorem all of the quoted strings, because there are I18n tokens of several format there.
Any ideas/advice would be appreciated.