public static translate ( string $Code, string $Default = false ) : string | ||
$Code | string | The code related to the language-specific definition. |
$Default | string | The default value to be displayed if the translation code is not found. |
return | string | The translated string or $Code if there is no value in $Default. |