What is the code to change the localization to a language other than English when customizing the We (NETIQKB43933)

  • 7743933
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
What is the code to change the localization to a language other than English when customizing the Web Console using the SDK?

fact
Directory and Resource Administrator 7.x

fix

To change the localization to another language (other than English), perform the following steps (For this example, the localization will be changed to Portuguese.):

  1. Find the Accept-Language key for Portuguese here:
    • http://msdn.microsoft.com/library/default.asp?url=/library/en-us/indexsrv/html/ixuwebqy_7gfn.asp
  2. Copy C:\Inetpub\wwwroot\DRAWeb\WebConsole\BuiltIn\AppLanguageMappings.asp to C:\Inetpub\wwwroot\DRAWeb\WebConsole\Custom\AppLanguageMappings.asp.
  3. Open the file with WordPad.
  4. Create a key in that file for the Portuguese language like this:
    'Contains both Portuguese and Brazilian Portuguese
    'WebConsole.SetLanguageMapping "Portuguese", Array("pt", "pt-br")
  5. In the AppMessages.asp and TaskMessages.asp files, define alternate messages like this (example from AppMessages.asp):
    WebConsole.SetAppMsg "Portuguese", "WEB_CONSOLE_TITLE", "NetIQ DRA Web Console (in Portuguese)"

When a browser client logs in with the language key "pt" or "pt-br", the Portuguese version of the message WEB_CONSOLE_TITLE will display.



Additional Information

Formerly known as NETIQKB43933