]>
jfr.im git - irc/evilnet/x3.git/blob - languages/lang_export.sh
3 # run this script and pipe the output to LANG/strings.db, then change the english strings
4 # to LANG. (where LANG is the language code, eg fr, de, etc). DO NOT change the order of %s %d etc
7 # Then, copy *.help into LANG/ and translate them too.
9 # thanks to Nei for this:
10 grep -lR ry\ ms ..
|grep -v '{arch'|xargs perl
-ne 'if(/message_entry msgtab/../{ NULL, NULL }/){print"$1 $2;\n"if/\s+{ (".*?"), (".*") },/}'