To export portions of a message dictionary to an XML message file, do the following within the Terminal:
The following topics summarize both export methods.
Exporting All Domains in Specific Languages
The %Library.MessageDictionaryOpens in a new tab class method Export() has the following signature:
classmethod Export(file As %String,
languages As %String = "",
flag As %String = "") returns %Status
Where:
-
file is a template for the output filename in this format:
filepath.ext
The name of the output file is filepathlanguage-code.ext
For example, if file is c:/temp/mylang_.txt and languages includes the language code ja-jp, then one of the output files is named c:/temp/mylang_ja-jp.txt
-
languages is an optional comma-separated list of language codes. Each value in the list must be an all-lowercase RFC1766Opens in a new tab code. If languages is not specified, or is empty, all languages in the database are exported. Each language is exported to a separate file using the conventions described for the file argument.
-
flag is an optional flag. If provided, the s flag (system) indicates that system message dictionaries are to be exported in addition to application message dictionaries. Otherwise, only application message dictionaries are exported.