[Typo3-dev] locallang.xml in pi1: how?
Brian Slezak
Brian.Slezak at cor.org
Mon Jul 25 21:47:09 CEST 2005
I have successfully used XML locallang files in front end plugins, but only on 3.8.0. pi_getLL() works like a charm.
I wasn't aware that TER isn't recognizing these yet. I may hold off uploading an extension until this is corrected, as I am using XML files in place of PHP in my extensions. (Newb T3 developer starting off in 3.8)
------
Brian Slezak
> -----Original Message-----
> From: typo3-dev-bounces at lists.netfielders.de
> [mailto:typo3-dev-bounces at lists.netfielders.de]On Behalf Of Patrick
> Broens
> Sent: Monday, July 25, 2005 10:21 AM
> To: typo3-dev at lists.netfielders.de
> Subject: Re: [Typo3-dev] locallang.xml in pi1: how?
>
>
> Dmitry,
>
> 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