GetWorkflowLanguages Method of ServerManager Object (Web Services API)

This method returns a list of languages available for recognition on the server with the specified location. In addition to the default languages, the list will also contain user-specified languages that have been set up in the workflow.

C# Syntax

Language[] GetLanguages(
 string serverLocation,
   string workflowName,
   string locale
);

Parameters

serverLocation

This parameter contains the DNS name of the server or its IP address.

workflowName

This parameter contains the workflow name. The workflow name must be an element of the list returned by the WebService::GetWorkflows method for the same server.

locale

The locale (for example, IETF's BCP 47 language tag — "en-US", "de-DE", "ru-RU", etc.) determines the interface language used to return the recognition language names. This is an optional parameter — you can either pass null or an empty string. In this case the server locale will be used.

Return Value

An array of Language objects representing the recognition languages available on the server with the specified location (serverLocation). The DisplayName property of these objects contains the language names for the specified locale.

See also

ServerManager, Language.

3/26/2024 1:49:49 PM

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.