Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
The textual representation of the message
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.
[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( int messageId, CSApplicationSupportedLanguages languageCode, string originalMessage, out int status, out string statusText )
Parameters
- messageId
- Type: SystemInt32
The Content Studio message to translate. This value must be within the MIN_MESSAGE_ID and the MAX_MESSAGE_ID bounds - 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. - originalMessage
- Type: SystemString
The original message as it came from the system. This value is needed with some parameterized messages where dynamic values is inserted. - 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: StringThe textual representation of the message
Remarks
See Also