JText
From Joomla! Documentation
JText is a text handling class. JText allows the developer to specify text-fragments in the source-code, which will be translated into the site's language during runtime.
Contents |
Availability
Defined in
/libraries/joomla/methods.php
Methods
| Method name | Description |
|---|---|
| _ | Translates a string into the current language |
| printf | Translates a string into the current language and passes it to the printf function. |
| sprintf | Translates a string into the current language and passes it to the sprintf function. |
Importing
jimport( 'joomla.methods' );
