RenameLanguage

Changes the name string associated with an OS language ID

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:4.x, 5.x, 6.x
Platform:NLM
Library:Cross-Platform Localization (LOC*.*)
Service:Internationalization

Syntax

  incl <nwadv.h>  
   
  int RenameLanguage  ( 
     int    languageID,   
     BYTE  *newLanguageName,   
     int    showErrorsToConsole); 
  
  

Parameters

languageID
(IN) Specifies the language ID number for the language to be renamed.
newLanguageName
(IN) Points to the new name to associate with the language ID.
showErrorsToConsole
(IN) Specifies whether to show error messages to the console screen.

Return Values

0

Success

1

Invalid ID or name

Remarks

RenameLanguage renames the language using the ID specified by the languageID parameter.

See Also

AddLanguage, GetCurrentOSLanguageID, LoadLanguageMessageTable, ReturnLanguageName, SetCurrentOSLanguageID