.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaBase.ITranslationManager Interface Reference

An interface to a object that provides translations. More...

Inherited by UnifiedAutomation.UaServer.ResourceManager.

Public Member Functions

LocalizedText Translate (IList< string > preferredLocales, string key, string text, params object[] args)
 Translates the text and then formats it with the arguments provided. More...
 
LocalizedText Translate (IList< string > preferredLocales, LocalizedText text)
 Translates the LocalizedText using the information in the TranslationInfo property. More...
 
StatusCode Translate (IList< string > preferredLocales, StatusCode result)
 Translates a service code. More...
 

Detailed Description

An interface to a object that provides translations.

Member Function Documentation

LocalizedText UnifiedAutomation.UaBase.ITranslationManager.Translate ( IList< string >  preferredLocales,
string  key,
string  text,
params object[]  args 
)

Translates the text and then formats it with the arguments provided.

Parameters
preferredLocalesThe list of preferred locales
keyThe key used to look up the translation
textThe text to translate
argsThe format argumente
Returns
The translated text

If any error occur during format the unformatted text is used instead.

Implemented in UnifiedAutomation.UaServer.ResourceManager.

LocalizedText UnifiedAutomation.UaBase.ITranslationManager.Translate ( IList< string >  preferredLocales,
LocalizedText  text 
)

Translates the LocalizedText using the information in the TranslationInfo property.

See also
Translate(IList{string},string,string,object[])

Implemented in UnifiedAutomation.UaServer.ResourceManager.

StatusCode UnifiedAutomation.UaBase.ITranslationManager.Translate ( IList< string >  preferredLocales,
StatusCode  result 
)

Translates a service code.

Parameters
preferredLocalesThe preferred locales.
resultThe result.
Returns
The result with all localized text translated.

Recusively translates text in inner results.

Implemented in UnifiedAutomation.UaServer.ResourceManager.


The documentation for this interface was generated from the following file: