菜单

How to use XLF files in TYPO3

2012年11月30日 - typo3

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



  
    
Dummy text Default language xlf file (locallang.xlf)


  
    
Das ist ein Test. German language xlf file (de.locallang.xlf)

发表评论

电子邮件地址不会被公开。 必填项已用*标注