[TYPO3-english] Extbase - create XML with all languages
Mogens Fiebrandt
mogens.fiebrandt at gmx.de
Wed Feb 17 05:16:44 CET 2016
Hi Stephan,
couldn't find any function to get all languages. At least you could do:
$languages = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( '*',
'sys_language' );
The default lang is missing. So you must handle this otherwise.
Greetings
Mogens
Am 16.02.2016 um 21:19 schrieb Stephan Bauer:
> Hello,
>
> I made an extension where I can create XML files.
>
> These files should contain all available languages like this:
> <Description Lang="de-DE" Text="Kurze-Adresse"/>
> <Description Lang="en-EN" Text="Short address"/>
>
> Is there a way to get all languages in one objekt?
>
> If not what would be the best way?
>
> Im using TYPO3 7.
>
> Thanks in advance.
>
> Regards
> Stephan
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list