CSApplicationTranslateMessage Method (CSException, CSApplicationSupportedLanguages, Int32, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Translates a Content Studio message id to its textual representation in a certain language.

Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public string TranslateMessage(
	CSException csException,
	CSApplicationSupportedLanguages languageCode,
	out int status,
	out string statusText
)

Parameters

csException
Type: ContentStudioCSException
The CSException to translate.
languageCode
Type: ContentStudioCSApplicationSupportedLanguages
The string representation of the language to return the message in. If the language code is not supported or empty English is used.
status
Type: SystemInt32
An integer indicating result of the call. Zero is success.
statusText
Type: SystemString
The textual representation of the call result.

Return Value

Type: String
The textual representation of the message
Remarks

This is the backwards compatible implementation of this method. This implementation does not throw any exceptions, instead callers must examine the outcome of the call in the Status and StatusText output parameters.
See Also

Reference