Actions

Difference between revisions of "JText/ ()"

From Joomla! Documentation

(New page: ===Syntax=== ''void'' _( $string, $jsSafe = false ) {| class="wikitable" !Argument !Data type !Description !Default |- |$string |string |The string to translate | |- |$jsSafe |boolean |Ma...)
 
m (Hutchy68 moved page JText/ to JText/ (): trying to solve the _ of JText)
 
(No difference)

Latest revision as of 06:52, 11 May 2013

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.

See also