API17:JLanguage::
From Joomla! Documentation
JLanguage::_
Description
Translate function, mimics the php gettext (alias _) function.
public function _ (
$string
$jsSafe=false
$interpretBackSlashes=true
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $string | string | The string to translate | |
| $jsSafe | boolean | false | Make the result javascript safe |
| $interpretBackSlashes | boolean | true | $interpretBackslashes Interpret and |
- Returns string The translation of the string
- Defined on line 276 of libraries/joomla/language/language.php
- Since

See also
JLanguage::_ source code on BitBucket
Class JLanguage
Subpackage Language- Other versions of JLanguage::_
User contributed notes
Code Examples