[Typo3-dev] locallang.xml in pi1: how?

Patrick Broens patrick at patrickbroens.nl
Mon Jul 25 17:20:32 CEST 2005


Dmitry,

As far as I know, this is possible in version 3.8.0. I had the same problems 
with it when writing the extension 'Questionaire' (pbsurvey). This one is 
done in 3.7.0 which made it possible to put all BE-locallang in XML but no 
Frontend.

The systemextensions from 3.8.0 , like Indexed_search are using XML as 
locallang in the frontend (pi1) , with $this->pi_loadLL(); and 
$this->pi_getLL('whatever');

I haven't tested it myself, but I think they changed it in 3.8.0.

One note about using locallang.xml: The Extension Repository only recognizes 
locallang.php files, not xml files. Because TER does not recognize them, 
translators can't translate your locallang-files. I hope this will change in 
the new version of the TER, because more developers are going to use XML 
instead of php locallang files.

Patrick

"Dmitry Dulepov" <typo3 at fm-world.ru> wrote in message 
news:mailman.1.1122117694.28108.typo3-dev at lists.netfielders.de...
> Hi!
>
> Does anyone know how to use locallang.xml in extensions (pi1 part)? I
> know how to use it in BE modules but what about pi1? pi_getLL does not
> know about xml files.
>
> I am using typo3 3.7.0.
>
> Dmitry. 






More information about the TYPO3-dev mailing list