luis at anachreon.co.uk
Tue Nov 14 05:01:29 EST 2006
If there's no Transcript solution you could opt for a Perl shell module
and then scan the output in Rev.
Has for Win32 also (you'd need to install Perl).
Built into OS X at: /System/Library/Perl/5.8.6/I18N (I think the Win32
module is also included in this one, haven't checked).
Another option would be to see how the Perl module is doing it and
converting it to a Transcript equivalent.
Thought I'd contribute something non-destructive for a change...
Trevor DeVore wrote:
> On Nov 13, 2006, at 5:51 AM, Eric Chatonet wrote:
>> Hi Malte,
>> Have a look at "Getuserlang" stack from Trevor on RevOnline: all you
>> want is there ;-)
> Just a note about that stack - I recently came across a scenario where
> the Windows code returned an incorrect value. It happens on systems
> where the language that is installed and the language setting in the
> regional settings do not match (e.g. English install running in german
> speaking Switzerland). In these cases reading the registry setting
> returns "German" even though the system is displaying English. The
> Windows multi language add-on may also cause problems.
> After going over the MSDN docs I was unable to find a registry setting
> that can be used to retreive the correct value. The MSDN docs state
> that you should use a Windows API call on XP/2000. So right now I use a
> modified version of the handler in the "Getuserlang" stack that uses an
> external to get the correct language on Win XP/2000. This works
> reliably in the above stated case. If I can find (or someone can point
> me to) a pure Transcript solution then I will update it. I think I've
> added some more languages since I posted the RevOnline version so I need
> to update it in any case.
> --Trevor DeVore
> Blue Mango Learning Systems - www.bluemangolearning.com
> trevor at bluemangolearning.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode