exportresourcestrings
Syntax and description
The exportresourcestrings command outputs an XML file containing the resource strings of the Authentic Server application in the specified language. The available export language is English (en).
authenticserver exportresourcestrings [options] LanguageCode XMLOutputFile |
•The LanguageCode argument gives the language of the resource strings in the output XML file; this is the export language. The code for English is en.
•The XMLOutputFile argument specifies the path and name of the output XML file.
How to create localizations is described below.
Examples
Examples of the exportresourcestrings command:
authenticserver exportresourcestrings en c:\Strings.xml
•The command above creates a file called Strings.xml at c:\ that contains the resource strings of Authentic Server in English.
Creating localized versions of Authentic Server
You can create a localized version of Authentic Server for any language of your choice. The English version is available in the C:\Program Files (x86)\Altova\AuthenticServer2027\bin folder, and therefore does not need to be created.
Create a localized version as follows:
1.Generate an XML file containing the resource strings by using the exportresourcestrings command (see command syntax above). The resource strings in this XML file will be in English, and you must specify en as the LanguageCode argument used with the command.
2.Translate the resource strings from English into the target language. The resource strings are the contents of the <string> elements in the XML file. Do not translate variables in curly brackets, such as {option} or {product}.
3.Contact Altova Support to generate a localized Authentic Server DLL file from your translated XML file.
4.After you receive your localized DLL file from Altova Support, save the DLL in the C:\Program Files (x86)\Altova\AuthenticServer2027\bin folder. Your DLL file will have a name of the form AuthenticServer2027_lc.dll. The _lc part of the name contains the language code. For example, in AuthenticServer2027_de.dll, the de part is the language code for German (Deutsch).
5.Run the setdeflang command to set your localized DLL file as the Authentic Server application to use. For the argument of the setdeflang command, use the language code that is part of the DLL name.