AddLanguage

Adds a language to the OS supported language list

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:4.x, 5.x, 6.x
Platform:NLM
Service:Internationalization

Syntax

  #include <nwadv.h>  
   
  int AddLanguage  ( 
     int    languageID,   
     BYTE  *newLanguageName,   
     int    showErrorsToConsole); 
  
  

Parameters

languageID
(IN) Specifies the language ID number for the language to be added (0-99 is reserved by the NetWare® OS.
newLanguageName
(IN) Points to the name of the language to be added.
showErrorsToConsole
(IN) Specifies whether to show error messages to the console screen.

Return Values

0

Success

1

Invalid ID or name

Remarks

AddLanguage adds the new language name and ID number to the OS language list.

See Adding to OS Supported Language List: Example (NDK: Sample Code).

See Also

GetCurrentOSLanguageID, LoadLanguageMessageTable, ReturnLanguageName, RenameLanguage, SetCurrentOSLanguageID