Breaking: #97729 - Respect attribute approved in XLF files
See forge#97729
Description
The new option $GLOBALS
controls whether only approved translations are taken into account when parsing XLF files.
This option is enabled by default for new and existing TYPO3 installations.
Impact
If set to true
- which is the default value - only approved translations are used.
Any non-approved translation will be ignored.
If the attribute approved is omitted, the translation is still taken into account.
<trans-unit id="label2" approved="yes">
<source>This is label #2</source>
<target>Ceci est le libellé no. 2</target>
</trans-unit>
Copied!
Affected installations
All TYPO3 translations using translations from XLF files.
Migration
Either set $GLOBALS
to false
or add approved="yes"
to all translations.