Important: Select item labels are read from the documented path 

Description 

\FGTCLB\AcademicBase\Controller\GetSelectItemsForTcaManagedTableFieldMethodTrait translates the item labels of a TCA select field for a frontend form. It takes the extension key, 'academic_jobs' for example, and translated with it as the extension name. TYPO3 v12 and v13 build the TypoScript path of _LOCAL_LANG from that name as it is given, so they read label overrides of the items from plugin.tx_academic_jobs .

The trait now turns an extension key into the extension name, 'AcademicJobs' , before it translates. The labels read plugin.tx_academicjobs and plugin.tx_academicjobs_<plugin> , the paths the TYPO3 documentation names. A name without an underscore is used as it is given.

Impact 

Code that calls the trait passes the extension key as before, nothing has to change there. A label override of the items under the underscored path no longer has an effect. Move it to the path without underscores, or to the path of the one plugin it is meant for:

# Before
plugin.tx_academic_jobs._LOCAL_LANG.default.tx_academicjobs_domain_model_job.jobtype.job = Position

# After
plugin.tx_academicjobs._LOCAL_LANG.default.tx_academicjobs_domain_model_job.jobtype.job = Position
plugin.tx_academicjobs_newjobform._LOCAL_LANG.default.tx_academicjobs_domain_model_job.jobtype.job = Position
Copied!