> > All I need is to retrieve a kind of ID for a users language setting, > > in the > > same way as we would do in Win32 environment with Syslocale and > > PriLangID. > > It is usually a very bad idea to try to literally port APIs from one > platform to another and disregarding platform conventions. It will > make your program behave in unexpected ways for the users (e.g., many > Mac OS X users expect to be able to ditch language support they don't > care about X by simply getting info on your application bundle and > deleting the language support from there). > > It will also give FPC/Lazarus a bad name if many apps written in it > look and behave like "Windows applications with an Aqua skin" (just > like Java apps generally have a bad name as far as the user interface > is concerned). > > Jonas
Yup, I know, but it's a 1-1 port from Win32 to Mac, and it does have a little Carbon feel and look, but the application applies its own dynamic language structure based on a default language setting retrieved from PriLangID. Thanks, Normann _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal