I created this mostly for my own use but thought I'd share. Using VB.NET, I wrote a small utility that allows me to enter an English string and click a button. It then contacts Babelfish (on AltaVista) and translates the text into French, German, Italian, and Spanish. Then it takes the translated text and replaces all of the non-English characters with the encoded string for that character as required by the Civ4 XML files. And just to make life a little easier, paragraph breaks are automatically adjusted to use the [PARAGRAPH:1] tag.
Lastly, to copy the translated text, just click the "Copy" button by the desired string and it'll be pasted into your clipboard ready to be dropped into an XML file.
You will need the .NET Framework installed for this application to work.
Here's a screenshot and the file to download (with source):
So no more reason to not include translated text in our mods, guys...
Lastly, to copy the translated text, just click the "Copy" button by the desired string and it'll be pasted into your clipboard ready to be dropped into an XML file.
You will need the .NET Framework installed for this application to work.
Here's a screenshot and the file to download (with source):
So no more reason to not include translated text in our mods, guys...