[Ohrrpgce] SVN: teeemcee/10917 Start on game translation support.

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Jan 16 19:45:56 PST 2019


teeemcee
2019-01-16 19:45:56 -0800 (Wed, 16 Jan 2019)
691
Start on game translation support.

A translation is a mapping from codes (like 'tb4' for text box 4) to strings.

Game strings may be exported as a .txt from the SPAM menu, translated by hand or
using a online translator, then import into a game from the debug menu.

The format of the .txt and the parser is designed to tolerate horrible mangling
by an automated translator. Unfortunately they all mangle differently, and this
even depends on the language. Bing Translate is the worst.

Currently, only textboxes translations are implemented, and they're incomplete,
because auto-wrapping and un-wrapping text around portraits isn't implemented,
and neither is preservation of indentation.
---
U   wip/custom.bas
U   wip/custom.bi
U   wip/game.bas
U   wip/globalstredit.bas
U   wip/loading.bi
U   wip/loading.rbas
U   wip/udts.bi
U   wip/util.bas
U   wip/util.bi


More information about the Ohrrpgce mailing list