Shoutbox

Usage of -dt-'s old translation class - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Usage of -dt-'s old translation class (/showthread.php?tid=91808)

Usage of -dt-'s old translation class by tribbium on 08-09-2009 at 11:34 AM

Mucking around for a translation class, I finally found -dt-'s translation class which I bookmarked once long ago. The thread about it has long sinced gone, as in poof, thread not found and I can't find a straightforward explanation of how to make the class work. I went through a whole slew of different scripts using the class but it was many times modified over and/or its use was buried within lines and lines of code.

The status of my current attempt was to basically emulate how it was done in Now-Playing-1.3.4. I've:

Created the language folder
Created my English.xml file filled with all the english captions
Threw in the <?xml version="1.0" encoding="UTF-16"?> tag to make sure it rewrote the file as unicode

My createwnd code goes something like

code:
var iface = trans.TranslateFile ("Interfaces/Interface.xml");
var wnd = MsgPlus.CreateWnd (iface, "windowname");

The code runs without any errors and the window shows up fine, but none of the captions from the translated file shows up.

The help could really be appreciated =P thanks
RE: Usage of -dt-'s old translation class by mynetx on 08-09-2009 at 12:03 PM

I suggest you to check out WLMStatus.  We are using -dt-'s class; refer to \Core\_main.js, after installing the script. :)