---
title: "Breaking: #97729 - Respect attribute approved in XLF files"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-97729-1654627167"
source: "Changelog/12.0/Breaking-97729-SupportAttributeApprovedInXlfFiles.rst"
typo3-version: "12.0"
typo3-major: 12
type: "breaking"
issue: 97729
forge: "https://forge.typo3.org/issues/97729"
tags: ["Backend", "Fluid", "Frontend", "TCA", "TypoScript", "NotScanned", "ext:core"]
rendered: "2026-09-29T06:32:46+00:00"
---

# Breaking: #97729 - Respect attribute approved in XLF files {#breaking-97729-1654627167}

See [forge#97729](https://forge.typo3.org/issues/97729)

## Description {#description}

The new option `$GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['requireApprovedLocalizations']`
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 {#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.

```xml
<trans-unit id="label2" approved="yes">
  <source>This is label #2</source>
  <target>Ceci est le libellé no. 2</target>
</trans-unit>
```

## Affected installations {#affected-installations}

All TYPO3 translations using translations from XLF files.

## Migration {#migration}

Either set `$GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['requireApprovedLocalizations']`
to `false` or add `approved="yes"` to all translations.
