Translates a string based on the current user’s chosen locale.
| smarty_block_translate | Translates a string based on the current user’s chosen locale. |
| Author | Rich Joslin |
| License | http://communit.as/docs/license |
| Functions | |
| smarty_block_translate | Translates a string based on the current user’s chosen locale. |
| See Also |
Translates a string based on the current user’s chosen locale. Uses Cts_Translate::translate.
| $params | An array of variables. (TBD) |
| $content | This is everything between the block start and end tags in the template. |
| &$smarty | TBD |
| &$repeat | TBD |
TBD
A translated string.
<!-- as used in a Smarty view template -->
{translate}This text will be translated based on the user's chosen locale.{/translate}