Posted By

pogosheep on 05/30/11



Versions (?)

Localize with extbase static method

 / Published in: PHP


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.