Multilingual interface

Terry Vogelaar terry at discovery.nl
Sat Jan 19 04:08:01 EST 2002


Hi all,

Who has bright ideas on how to handle multilingual projects? Creating two
(or more) separate stacks gives a lot of extra work; especially during
development.

I was thinking about some kind of a language-preference that gives all the
buttons another label and give some fields another content.

The main problem is that I don't understand how I can change the content of
a menu. There is something about dynamically changing a menu in the Rev
Encyclopedia: About menus and the menu bar. I have to put a mousedown
handler in the group. But what should it contain? Are there any examples of
it?

Also, would I need to extend the switch stucture like:

on menuPick pWhich
  switch pWhich
  case "Save"
  case "Bewaar" -- Dutch for 'Save'
    saveStuff
    break
  case "Quit"
  case "Stop" -- Dutch; well that doesn't have to be explained
    quitStuff
    break
  end switch
end menuPick

Finally, can I discover what language the OS is, so I can set the standard
language preference setting of my stack to it?

Terry





More information about the use-livecode mailing list