getting the selected language

zryip theSlug zryip.theslug at
Thu Jul 29 13:58:33 EDT 2010

On Thu, Jul 29, 2010 at 7:10 PM, jim sims <sims at> wrote:
> To get the selected language in OS X it seems that the following works well:
> put replaceText(shell("defaults read NSGlobalDomain AppleLanguages"),"(\s|\(|\))","") into theLanguagesList
> How does one get the same information on a Windows machine?


On Windows, try:

put shell("systeminfo")

Somewhere in the return lines you will find the selected language.

However not working with all the Windows versions

-Zryip TheSlug- wish you the best! 8)

More information about the Use-livecode mailing list