.NET Based OPC UA Client/Server SDK
2.6.6.478
|
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... | |
An interface to a object that provides translations.
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.
preferredLocales | The list of preferred locales |
key | The key used to look up the translation |
text | The text to translate |
args | The format argumente |
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.
Implemented in UnifiedAutomation.UaServer.ResourceManager.
StatusCode UnifiedAutomation.UaBase.ITranslationManager.Translate | ( | IList< string > | preferredLocales, |
StatusCode | result | ||
) |
Translates a service code.
preferredLocales | The preferred locales. |
result | The result. |
Recusively translates text in inner results.
Implemented in UnifiedAutomation.UaServer.ResourceManager.