Adding a localization to an “Extension Builder” generated TYPO3 extbase extension could be a little tricky as it uses the xlf (XLIFF) format.
This is a simple way to add new localizations without using extra tools like Virtaal or a Pootle server.
1. copy file and prefix filename with language coed: example.xlf to de.example.xlf
2. add target-language=”de” attribute to node file
3. change source nodes to target
Please make sure…
your files are UTF8 encoded
to encapsulate special chars in CDATA
Default language xlf file (locallang.xlf)
Das ist ein Test.
German language xlf file (de.locallang.xlf)