Breaking: #84877 - Methods of localization repository changed

See forge#84877


The method \TYPO3\CMS\Backend\Domain\Repository\Localization\LocalizationRepository::getUsedLanguagesInPageAndColumn() has been renamed to \TYPO3\CMS\Backend\Domain\Repository\Localization\LocalizationRepository::getUsedLanguagesInPage().

The signatures of the following methods in \TYPO3\CMS\Backend\Domain\Repository\Localization\LocalizationRepository have changed:

  • fetchOriginLanguage

  • getLocalizedRecordCount

  • fetchAvailableLanguages

  • getRecordsToCopyDatabaseResult

In every method, the second argument $colPos has been removed.


Calling the method getUsedLanguagesInPageAndColumn() will trigger a fatal error.

Calling the methods with the former argument for $colPos in place will result in broken query results or fatal errors.

Affected Installations

Every 3rd party extension using \TYPO3\CMS\Backend\Domain\Repository\Localization\LocalizationRepository is affected.


Change the method call from getUsedLanguagesInPageAndColumn() to getUsedLanguagesInPage().

Remove the $colPos arguments in the calls, as they are not required anymore.