Ah - obtaining an instance of Xojo.Core.Locale.current and then checking the 
identifier works nicely, thanks!

Maximilian Tyrtania
http://www.contactking.de

> Am 17.03.2015 um 13:57 schrieb Beatrix Willius <[email protected]>:
> 
> Either NSLocaleMBS.currentLocale or Xojo.Core.Locale.current for Xojo 2015r1 
> or higher.
> 
>> On 17.03.2015, at 12:31, Maximilian Tyrtania <[email protected]> wrote:
>> 
>> Christian kindly explained here how to determine the system language under 
>> Mac OS X:
>> http://www.monkeybreadsoftware.net/faq-howtocheckonmacoswhichcountryorlanguageiscurrentlyselected.shtml
>> This method internally calls GetscriptmanagerVariable which apparently is 
>> deprecated (but probably should still work).
>> 
>> But for some reason this method returns 0 (=english) for my german system. 
>> I'm pretty sure this method worked for me for quite some time, but now it 
>> doesn't seem to anymore (under Mac OS 10.10.2). 
>> 
>> So, what would be the best way to do this in a cocoa app?
> 
> 
> 
> Mit freundlichen Grüßen/Regards
> 
> Trixi Willius
> 
> http://www.mothsoftware.com
> Mail Archiver X: The email archiving solution for professionals
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to