JLanguage::_
Translate function, mimics the php gettext (alias _) function.
The function checks if $jsSafe is true, then if $interpretBackslashes is true.
Signature
public function _(string
$string,
[boolean
$jsSafe = false,
[boolean
$interpretBackSlashes = true]] )
Parameters
-
$string
- The string to translate
-
$jsSafe
- Make the result javascript safe
-
$interpretBackSlashes
- Interpret \t and \n
Returns
- string
- The translation of the string