Posted By

pogosheep on 05/30/11


Tagged

extbase


Versions (?)

Localize with extbase static method


 / Published in: PHP
 

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

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.

  1. Tx_Extbase_Utility_Localization::translate("key", $_EXTKEY)

Report this snippet  

You need to login to post a comment.