Return to Snippet

Revision: 47030
at May 30, 2011 22:10 by pogosheep


Initial Code
Tx_Extbase_Utility_Localization::translate("key", $_EXTKEY)

Initial URL
http://api.typo3.org/typo3v4/current/html/class_tx___extbase___utility___localization.html#a84f339124cb1393a18c668fd3066511d

Initial Description
You can localize strings with the following static method. The first Parameter is the string you want to localize. It's the same string as in the locallang.xml-File defined as index. The second parameter is the extension key.

Initial Title
Localize with extbase static method

Initial Tags


Initial Language
PHP