Search code examples
pythondjangointernationalizationtranslationgettext

Automatically generating Piratespeak .po/gettext/translations for i18n testing?


I am working on translating our django webapp. I'd like to test that our system is set up correctly before paying a translator to do the actual translation.

Is there anyway, given a .po file, to automatically generate some new translations? And just for fun, is there anyway to do this to pirate speak? :) (Or some other command line text munglying tool?)


Solution

  • Turns out no-one has done this before. So I wrote a python script to do it myself to piratify a .po file