MagicCMS Documentation

MagicTransDictionary..::..Translate Method (String)

Get the translation of the specified word or sentence in Current Language if it exists, otherwise return the untranslated sentence.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public static string Translate(
	string sentence
)

Parameters

sentence
Type: String
The sentence.

Return Value

System.String. Translation