Hello guys,

I supposed that setting the Location in the Date and Time option of the
SystemPreferences application would influence the settings for the NSLocale
message. I set the location to Europe/Brussels, but when I execute this:

    NSLocale *current_locale = [NSLocale currentLocale];
  NSLog(@"The current locale is %@", current_locale);

  NSLocale *au_current_locale = [NSLocale autoupdatingCurrentLocale];
  NSLog(@"The autoupdating current locale is %@", au_current_locale);

  NSLocale *system_Locale = [NSLocale systemLocale];
  NSLog(@"The system locale is %@", system_Locale);

The result I  get is:

2017-08-12 05:47:51.500 TM1[1432:100188] The current locale is en_US_POSIX
2017-08-12 05:47:51.505 TM1[1432:100188] The autoupdating current locale is
en_US_POSIX
2017-08-12 05:47:51.515 TM1[1432:100188] The system locale is en_US_POSIX

What am I missing here?

I'm using FreeBSD 11.0, and build GNUstep  and the GNUstep applications
from the ports system.


Kind regards,


Edwin Ancaer
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to