Manually loads a language pack. This ensures that the language model required for a task is ready for use, which reduces startup time for tasks that are added later. Manually loaded language packs remain in memory until they are unloaded, so you must manually unload the packs when they are no longer needed (see UnloadLanguage).
The LoadLanguage
action is asynchronous by default.
http://localhost:15000/action=LoadLanguage&Name=ENUS
This action loads the ENUS
language.
Parameter | Description | Required |
---|---|---|
Name | The name of the configuration file section where the language pack is defined. You might also need to specify additional resource-specific parameters. See Comments. | Yes |
OutputEncoding | The encoding to use for the action output. |
This action accepts the following standard ACI action parameters.
Parameter | Description |
---|---|
ActionID | A string to use to identify an ACI action. |
EncryptResponse | Encrypt the output. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Writes output to a file. |
ResponseFormat | The format of the action output. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |
When you load a language, you might need to set additional resource-specific parameters. For example, to load a custom language model, you must set CustomLm in the LoadLanguage
action.
For the list of available language resource action parameters, see [MyResource] Configuration Parameters.
|