O.P. Multilanguage scripts - how to?
Hello,
well I got my first script ready, which is really cool (yé!). However, currently the script is only in english (that's a start). This is kind of sad, since I also speak french and would like to offer the script on both languages.
In the scripting doc, there is no mention about doing multi-language scripts. One solution that I thought was to dynamically change the text of the window's labels based on the current user's Messenger language. However, looking at the doc, I could not find a "Language" property that could let me know which favorite language the user currently have set.
Anyone have a solution, other than recompiling the same script and updating the text in the windows? I kind of dislike having to maintain two versions of the same code. Resources files, anyone?
Patchou: how about adding a ".MyLanguage" to the Messenger object?
kb
|