Internationalization · Question 7 of 12
In which file format does a TYPO3 extension store its translatable labels?
1 answer is correct. Easy
Show answer
Answer
- B XLIFF files with the extension .xlf
Explanation
TYPO3 uses the XML-based XLIFF format for labels and messages, typically in Resources/Private/Language/locallang.xlf. Translations live in files with a language prefix, for example de.locallang.xlf. In Fluid, a label is output with <f:translate key="..."/>. Gettext (.po) is common in other PHP projects and therefore an obvious mistake, but TYPO3 does not use it for extension labels.