Actions

JText/ ()

From Joomla! Documentation

Revision as of 07:52, 11 May 2013 by Tom Hutchison (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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