What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Multilanguage scripts - how to?

Multilanguage scripts - how to?
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Multilanguage scripts - how to?
To make your script multilingual, it takes a lot of work. Screenshot Sender 4 is a good example: it makes an object "Language" which contains arrays for every translation section. So, if you would have a file called "English.ini" with the following content:
code:
[Messages]
Alert=Warning! This script is available in lots of languages!
the script could create an object from the file and then you can get the string with something like this:
code:
Debug.Trace(Language.Messages["Alert"]);

I suggest you to install the SS4 script and take a look at the code. As for static texts which can't be changed using a function, (like a Help attribute) the script has a function which can re-write the interface XML file and replace the content of the elements by the strings from the .ini-file. ;)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
12-06-2006 03:47 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Multilanguage scripts - how to? - by ketchup_blade on 12-06-2006 at 03:18 PM
RE: Multilanguage scripts - how to? - by Ezra on 12-06-2006 at 03:26 PM
RE: Multilanguage scripts - how to? - by Matti on 12-06-2006 at 03:47 PM
RE: Multilanguage scripts - how to? - by Spunky on 12-06-2006 at 03:50 PM
RE: Multilanguage scripts - how to? - by Matti on 12-06-2006 at 04:24 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On