Re: [fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-28 Thread Henry Vermaak
On Wed, Feb 28, 2018 at 01:36:31PM +0100, Bart wrote: > On Wed, Feb 28, 2018 at 10:58 AM, Henry Vermaak > wrote: > > The Windows implementation of GetLanguageIDs() in gettext.pp is not > > right. It uses GetLocaleInfo() with LOCALE_SABBREVLANGNAME and > >

Re: [fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-28 Thread Bart
On Wed, Feb 28, 2018 at 10:58 AM, Henry Vermaak wrote: > On Wed, Feb 21, 2018 at 12:11:10PM +0100, Darius Blaszyk wrote: >> On my machine getlocaleinfo returns ZZZ when requesting the abbrev >> langname. The country code is correctly set to NL. This makes My Win 10

Re: [fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-28 Thread Henry Vermaak
On Wed, Feb 21, 2018 at 12:11:10PM +0100, Darius Blaszyk wrote: > On my machine getlocaleinfo returns ZZZ when requesting the abbrev > langname. The country code is correctly set to NL. This makes > gettext.GetLanguageIDs return zz_NL. What could be causing this? > > Also the behavior of

Re: [fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-21 Thread Michael Van Canneyt
On Thu, 22 Feb 2018, Darius Blaszyk wrote: On my machine getlocaleinfo returns ZZZ when requesting the abbrev langname. The country code is correctly set to NL. This makes gettext.GetLanguageIDs return zz_NL. What could be causing this? Also the behavior of GetLocaleInfoIDs does not seem

[fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-21 Thread Darius Blaszyk
On my machine getlocaleinfo returns ZZZ when requesting the abbrev langname. The country code is correctly set to NL. This makes gettext.GetLanguageIDs return zz_NL. What could be causing this? Also the behavior of GetLocaleInfoIDs does not seem to be according to the gettext manual. On

Re: [fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-21 Thread Bart
On Wed, Feb 21, 2018 at 12:11 PM, Darius Blaszyk wrote: > On my machine getlocaleinfo returns ZZZ when requesting the abbrev langname. > The country code is correctly set to NL. This makes gettext.GetLanguageIDs > return zz_NL. What could be causing this? Maybe the same

[fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-21 Thread Darius Blaszyk
On my machine getlocaleinfo returns ZZZ when requesting the abbrev langname. The country code is correctly set to NL. This makes gettext.GetLanguageIDs return zz_NL. What could be causing this? Also the behavior of GetLocaleInfoIDs does not seem to be according to the gettext manual. On