to display the language name ("En" etc.), I use this:
>
> *Info
> expr(ifelse(1033==win.getlanguage("active"),"En",ifelse
(1046==win.getlanguage("active"),"Pt",win.getlanguage("active"))))
>
> Is this the way to go, or is there an easier (or more elegant) way?
>
For 2-3 languages, seems good enough to me. For more, you could
look into writing a script which returned the language, something
like
*info expr(run.getlang)
where
getlang would be a command list something like:
local lan=win.getlanguage("active")
if (1033==lan)
quit("En")
;etc.
If many languages, could use a look-up table (ie map plugin).
I have not tested this.
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/