[TYPO3-english] Accessing language tag from PHP_SCRIPT

Stefan Frömken firma at sfroemken.de
Fri Nov 4 09:29:43 CET 2011


Am 04.11.2011 03:06, schrieb Gonzalo Henriquez:
> Hi list!
>
> Is there any way of getting a specific tag from any of the
> locallang.xml files within a PHP_SCRIPT.
>
> I'm getting data from a 3rd party database and would like to use
> localization in a "standard" TYPO3 way :D
>
> Thanks in advanced,
> Gonzalo

t3lib_div should be always available...so maybe this helps:

t3lib_div::readLLfile($fileRef, $langKey, ...)

Stefan


More information about the TYPO3-english mailing list