Message Files

Restriction: National Locale Support is not available for .NET managed code.

National Locale Support (NLS) support can include message files, where language-specific messages can be output using the appropriate codeset for the environment that the application is running in. You write each message file as an ASCII file with the file extension .nls, compile it into a language file (which has the file extension .lng), and then deploy it with your application.

To make messages available in more than one language, create one message file per language, and compile them to separate .lng files.

Within your application, you can open, read and close message files using the CBL_NLS_* library routines.