Setting a Language Localization?
jjweimer
strswitch(IgorInfo(10)):
case "English":
....
case "Deutsch":
....
endswitch
case "English":
....
case "Deutsch":
....
endswitch
Optimal would be when such a query could be done at compile time to allow menu strings to be set as appropriate string constants ...
#define $IgorInfo(10)
#ifdef English
...
#endif
#ifdef Deutsch
...
#endif
#ifdef English
...
#endif
#ifdef Deutsch
...
#endif
All you can tell is if you are running a Japanese version of Igor using IgorInfo(3) if memory serves.
April 6, 2009 at 05:36 pm - Permalink