How to detect when the system language is changed?

3 posts / 0 new
Last post
jap
jap's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2011-06-04 05:53
How to detect when the system language is changed?
Hello, Is there a way to detect when the user changes the system language? When you change the system language in Locale Preferences, Workbench's language changes as well. I would like to do the same in my application, i.e. to change my application's language when the system language is changed.
thomas
thomas's picture
Offline
Last seen: 12 hours 11 min ago
Joined: 2011-05-16 14:23
Use IDOS->NotifyVar on
Use IDOS->NotifyVar on sys/locale.prefs. (on OS3 you would use StartNotify on ENV:sys/locale.prefs)
jap
jap's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2011-06-04 05:53
Hmm, it doesn't seem to work.
Hmm, it doesn't seem to work. However, watching the global variable 'LanguageName' does work.
Log in or register to post comments