Game Development Community

Where is the "lang" mod?

by Manoel Neto · in Torque Game Engine · 01/17/2006 (10:07 am) · 5 replies

I've been reading the TDN entry about the new localization toolkit for 1.4. Looks interesting and more robust than the script-only approach we've been using here. After reading about it, I found none of the functions there exist, and that they all reside in a "lang" mod, that is nowhere to be found.

Right now I'm struggling with the LangTable class trying to get it to work directly, but I the GUI always fail to find the language table mod in getModLangTable, no matter what the heck I type in the GUI control's langTableMod field. I tried both my mod name, and the langTable name, and noone work.

It seems to append "I18N::" before the langTableMod text and tries to read that as a variable (?). I tried setting that variable value in script to the langTable ID, and it just crashed.

Is the localization stuff broken or incomplete?

#1
01/17/2006 (11:11 am)
For some unknown reason its not in TGE1.4. It should be, as well as the localized version of starter.fps. I'll mention it to Ben and see if I can find it.

T.
#2
01/17/2006 (12:04 pm)
Heh, I understand that sort of thing. Once we forgot to include some files when building a milestone for the Nth time past 3 AM and it caused all sorts of trouble.

Good thing the lang mode exists somewhere, I was about to move our localization system to 1.4. :)
#3
01/17/2006 (5:46 pm)
Should be in 1.4.1. MattF is the main guy on 1.4.1 (I'm focusing on TSE/TDN), so will let him note here what he plans to do. :)
#4
01/17/2006 (5:48 pm)
Manoel,

I've found my original dev copy of the script side of the localization and the localized starter.fps. If you drop me a mail at fos2k4 at gmail.com I'll send you a copy. The localization code was done first so it will be based on some version of TGE around 1.4 RC1, but a few minutes with a decent merge tool and you shouldnt have any problems getting it running.

T.
#5
01/18/2006 (7:08 am)
Thanks, I sent the e-mail just now.