Click or drag to resize

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
)

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: String
Returns the translation if found or the string formatted with `namespace.key`
See Also