Improve message if localization fails due to existing record
Currently when trying translating a record and a translation already exists the following message is shown:
Localization failed; There already was a localization for this language of the record!
This message should be improved to include the following:
- Name of the translation table (mostly for
pages_language_overlayfor TYPO3 < v8)
- UID of the translation record found
This make it a lot easier to fix the broken translation state and is essential for cases where a record cannot be translated properly because translations of its related records already exist. See #31812 for this.
[TASK] Add details to message for existing record localization
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Anja Leichsenring <email@example.com>
Tested-by: Anja Leichsenring <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>