What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » suggestion for scripts db

suggestion for scripts db
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: suggestion for scripts db
quote:
Originally posted by Mattike
quote:
Originally posted by markee
This is quite difficult because there are many things that you can't just change the label of through a script and you have to edit the XML of the interface window before opening it.  This is difficult and has to be made of a per script basis to get the naming of everything correct and understand the methods they use (all ui's in one XML or many XML's for example).
Well, I was able to translate everything used in my Log Manager script, from labels to ListView headers and tooltips (big credits to Eljay for these by the way! (y)). The only thing I have trouble with at the moment is that when I try to change the window's caption (the name appearing in the taskbar), Plus! automatically adds a title bar to your window, even if your XML didn't define that it should have one. Also, MenuButtonControl's menus can't be translated, however I can fix this by using ButtonControls who open a "standard" Windows menu (the gray one).

But I wouldn't say that you can only make a script multilingual with the use of multiple XML files or XML re-writing, because it works good (and fast!) in my script. :P
That's true, but it is A LOT of code that the user won't understand.  You'll also have to get the using some standardised method in the ini file to be able to tell what kind of control each one is to be able to change it.  I understand that it is possible, but for a new scripter those two methods are the best they'll understand.  These scripts currently use different XML's for each language because they are in different scripts so it's not like it is too difficult to manage them in the way i recommended, it would just be a lot easier i think.  However if you want to write up some code to do it your way then I'm not complaining :P
[Image: markee.png]
11-07-2007 10:03 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
suggestion for scripts db - by roflmao456 on 11-06-2007 at 09:23 PM
RE: suggestion for scripts db - by Sunshine on 11-06-2007 at 10:00 PM
RE: suggestion for scripts db - by MeEtc on 11-06-2007 at 10:25 PM
RE: suggestion for scripts db - by Sunshine on 11-06-2007 at 10:36 PM
RE: suggestion for scripts db - by NanaFreak on 11-07-2007 at 05:16 AM
RE: suggestion for scripts db - by Menthix on 11-07-2007 at 06:48 AM
RE: RE: suggestion for scripts db - by Sunshine on 11-07-2007 at 12:22 PM
RE: suggestion for scripts db - by -dt- on 11-07-2007 at 12:30 PM
RE: suggestion for scripts db - by markee on 11-07-2007 at 01:10 PM
RE: suggestion for scripts db - by Dempsey on 11-07-2007 at 01:16 PM
RE: suggestion for scripts db - by markee on 11-07-2007 at 01:20 PM
RE: suggestion for scripts db - by Menthix on 11-07-2007 at 01:32 PM
RE: suggestion for scripts db - by markee on 11-07-2007 at 01:45 PM
RE: suggestion for scripts db - by Matti on 11-07-2007 at 08:15 PM
RE: suggestion for scripts db - by markee on 11-07-2007 at 10:03 PM
RE: suggestion for scripts db - by Matti on 11-08-2007 at 06:34 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