ITranslatorTranslate Method (String, NullableGuid) |
Returns the translation value of the specified namespace/key
Namespace:
AskiaPortalCmn
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax string Translate(
string key,
Nullable<Guid> moduleGuid = null
)
Function Translate (
key As String,
Optional moduleGuid As Nullable(Of Guid) = Nothing
) As String
String^ Translate(
String^ key,
Nullable<Guid> moduleGuid = nullptr
)
Parameters
- key
- Type: SystemString
Key of the translation - moduleGuid (Optional)
- Type: SystemNullableGuid
GUID of the module from where the translation belongs to.
If null or omit, the CurrentModule will be used.
Return Value
Type:
StringReturns the translation if found or the string formatted with `namespace.key`
See Also