JText/
From Joomla! Documentation
< JText
Syntax
void _( $string, $jsSafe = false )
| Argument | Data type | Description | Default |
|---|---|---|---|
| $string | string | The string to translate | |
| $jsSafe | boolean | Make the result javascript safe | false |
Example
JText::_('Greeting');
To fully understand the functionalities of language translation in Joomla, read the articles in the "See also" section.