Click or drag to resize

ITranslatorTranslate Method (String, NullableGuid, Object)

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,
	params Object[] args
)

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.
args
Type: SystemObject
Options to format the string (using String.Format)

Return Value

Type: String
Returns the translation if found or the string formatted with `namespace.key`
See Also