From a275616b3a73ed273358a6ea84e644a535bfc4b3 Mon Sep 17 00:00:00 2001
From: Georg Ringer <georg.ringer@gmail.com>
Date: Fri, 25 Sep 2020 20:19:25 +0200
Subject: [PATCH] [TASK] Render language ID in site module languages inline
 header

Improve the usability of the site language configuration by
providing the ID of the sys_language record.

Resolves: #92417
Releases: master, 10.4
Change-Id: I81ca46de80628ec93cf834f921f858260f53c82a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65887
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
---
 .../sysext/backend/Classes/Configuration/TCA/UserFunctions.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/typo3/sysext/backend/Classes/Configuration/TCA/UserFunctions.php b/typo3/sysext/backend/Classes/Configuration/TCA/UserFunctions.php
index 7b17abebdfbf..b69213cf2aad 100644
--- a/typo3/sysext/backend/Classes/Configuration/TCA/UserFunctions.php
+++ b/typo3/sysext/backend/Classes/Configuration/TCA/UserFunctions.php
@@ -34,9 +34,10 @@ class UserFunctions
     {
         $record = $parameters['row'];
         $parameters['title'] = sprintf(
-            '%s %s (%s) Base: %s',
+            '%s %s [%d] (%s) Base: %s',
             $record['enabled'] ? '' : '[' . $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:disabled') . ']',
             $record['title'],
+            $record['languageId'][0],
             $record['locale'],
             $record['base']
         );
-- 
GitLab