What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Multi Language class for scripts (request)

Pages: (2): « First [ 1 ] 2 » Last »
Multi Language class for scripts (request)
Author: Message:
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
O.P. Multi Language class for scripts (request)
It would be nice if somebody could create a class that can handle scripts in multi languages in a good and easy way.

The problem I see now is: Somebody releases a nice script in English and it gets added to the download DB. A few days later somebody downloads the English version, translates it to Spanish, and submits a new .plsc file... same script but this time in Spanish. What I do now is mail back the creator of the Spanish version and tell him to contact the original (English version) creator so he can make a new version that is multi-language. Because having 2 separate scripts for 2 languages only makes things harder for updates.

However, It looks like things like this will happen more and more often, and it can be hard for some coders to turn their script multi-language. So I was hoping someone could write a class which makes this stuff easier for them.

Something that works with languagefiles (similar to Plus! itself) would be nice. Would be great if this class takes care of loading and reading from the language files, and a menu so users can change language. All that coders would have left to do is replace all their text strings and reference it to the language class.

Would like to hear ideas from people, and those who would want to make this. Saw somebody talk about it in another topic, but don't recall which one or who it was. But everyone is welcome to create it :).
Finish the problem
Menthix.net | Contact Me
07-07-2006 10:36 PM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Multi Language class for scripts (request)
I think that if the script developer is serious about translations, they'd have thought of a solution long before getting to the submission stage. But still, it's a good idea, especially if it's a 'drop-in' class that any developer can use.

Or maybe Google has something.
[Image: spartaafk.png]
07-07-2006 10:50 PM
Profile PM Web Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: Multi Language class for scripts (request)
I already thought about this, and I even thought about making a class that can also acces the MP!L language strings and the WLM language strings. So you would be able to grab the basic strings like "Nickname", "Yes", "No", "Sign off" etc directly from WLM / MP!L. In that way those words will always appear in the users language, without having to translate it yourselves.

It would of course bring new problems, for example about design, and scripts in half english / half otherlanguage, but I think it can still be usefull...
07-07-2006 10:54 PM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Multi Language class for scripts (request)
Hmmm, good idea. I'm starting to work on this :) and I like your idea too, J-Thread :)
07-07-2006 11:00 PM
Profile PM Find Quote Report
cooldude_i06
Full Member
***

Avatar
I'm so cool I worry myself.

Posts: 272
Reputation: 9
– / Male / –
Joined: Sep 2003
RE: Multi Language class for scripts (request)
This would be easy enough for strings used in the jscript files, but what about the captions stored in interface xmls???
[Image: clb2.jpg]
07-07-2006 11:45 PM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Multi Language class for scripts (request)
Yeah, I was just thinking about that. You'd have to use SetControlText to change the controls' text to something in the file...

This post was edited on 07-07-2006 at 11:48 PM by deAd.
07-07-2006 11:46 PM
Profile PM Find Quote Report
cooldude_i06
Full Member
***

Avatar
I'm so cool I worry myself.

Posts: 272
Reputation: 9
– / Male / –
Joined: Sep 2003
RE: Multi Language class for scripts (request)
Is there a way to include variables in XML. Perhaps if all the variables were defined during the start of the file, or even in a seperate file then somehow imported, it would make translations much easier.
[Image: clb2.jpg]
07-08-2006 12:33 AM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Multi Language class for scripts (request)
It's pretty much done. Tomorrow I'll be squashing some bugs and testing it more thoroughly, maybe writing a tiny bit of documentation :P...it's small though. It is very simple to use, and relies on external files. It has a function to open windows too, and automatically translates those, based on another file telling what controls to translate (y)...:)
07-08-2006 01:38 AM
Profile PM Find Quote Report
Dhaya
Junior Member
**

Avatar
lala~

Posts: 25
Reputation: 4
39 / Male / –
Joined: Jul 2006
RE: Multi Language class for scripts (request)
great news deAd ^^ If this works correctly it will be really usefull for us !
Godamn JScript ! I HATE you ! ... but I love you so much <3
07-08-2006 09:09 AM
Profile PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Multi Language class for scripts (request)
It works very well. You can insert comments in the text files too, so they don't get super-confusing to edit ;) ...
07-08-2006 01:02 PM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


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