File Submitter: the bigg
File Submitted: 22 Jan 2011
File Updated: 02 Jan 2012
File Category: IE Modding Tools
This simple tool can be used to automate traification of a mod. It is a command-line tool and requires a copy of WeiDU, so they should be both put in your $PATH (or in your BG2 directory). Your mod should have translations packaged in mymod/tra/english, while its D, BAF etc. files can live anywhere in the mymod hierarchy (but outside of mymod/tra). Setup-mymod.tp2 should live inside mymod if you want it traified.
The program can be run in two modes.
If you want to just traify, run it like this:
Quote
The tool can also generate .d, .baf etc. files that use local strings rather than @references. Run it like this:
Quote
Moreover, you can pass additional options to WeiDU; they must be put after the primary language, followed by -- and by the target languages. Examples:
Quote
traify mymod english --traify-comment --nogame -- english spanish french italian
Source code for the tool is available at GitHub. The download contains the Windows binary; users of other operating systems can grab the fully equivalent 'traify.sh' from Github.
Click here to download this file















