EasyUA Reference
Translate(IList<String>,String,String,Object[]) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > ITranslationManager Interface > Translate Method : Translate(IList<String>,String,String,Object[]) Method

preferredLocales
The list of preferred locales
key
The key used to look up the translation
text
The text to translate
args
The format argumente

Glossary Item Box

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

Syntax

Visual Basic (Usage)Copy Code
Dim instance As ITranslationManager
Dim preferredLocales As IList(Of String)
Dim key As String
Dim text As String
Dim args() As Object
Dim value As LocalizedText
 
value = instance.Translate(preferredLocales, key, text, args)

Parameters

preferredLocales
The list of preferred locales
key
The key used to look up the translation
text
The text to translate
args
The format argumente

Return Value

The translated text

Remarks

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

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.