Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Translation commands
Check extension translations
Finds missing translations (.xlf target entries) in a given extension. It walks through all XLF files of the extension and compares the available source values with the target values for the given list of languages. Missing translations are reported.
The command writes log messages to the file log (if configured by the extension) and outputs a summary to the console.
Usage
vendor/bin/typo3 commands:translation <extensionKey> [languages]
extensionKey(required): The extension key to scan (folder undertypo3conf/ext/), e.g.commandslanguages(optional): Comma‑separated list of language keys to check; default:de,en
Examples
- Check extension
my_extfor German and English (default):
vendor/bin/typo3 commands:translation my_ext
- Check extension
site_themefor German, English and French:
vendor/bin/typo3 commands:translation site_theme de,en,fr
Output
- Counts processed translation files
- Reports each missing translation in the format:
"<language> <fileName> <translationKey> is missed!"
Notes
- Source language is read from each XLF file (
file@source-language). - If a
target-languageis present in the file it will be used for comparison; otherwise only the source is collected. - Execution time and statistics are written to the log.
