Labels 

The labels this extension shows in the frontend come from EXT:academic_programs/Resources/Private/Language/locallang.xlf and its translations; the table below names the ones that come from another file. A site changes a label without copying a template, in TypoScript: under plugin.tx_academicprograms._LOCAL_LANG for every content element of the extension, or under plugin.tx_academicprograms_<plugin>._LOCAL_LANG for one of them. A label set for the plugin wins over one set for the extension.

EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
plugin.tx_academicprograms._LOCAL_LANG {
  default.sorting.field.label = Sort by
  de.sorting.field.label = Sortieren nach
}

# Only in one content element:
plugin.tx_academicprograms_programlist._LOCAL_LANG.default.sorting.field.label = Sort by
Copied!

The dots of a key need no escaping: TypoScript reads them as levels of its tree, and TYPO3 joins the levels to the key again. A label of another language goes under its language key, de for German.

Content element Path
Program List ( academicprograms_programlist ) plugin.tx_academicprograms_programlist._LOCAL_LANG
Program Details ( academicprograms_programdetails ) plugin.tx_academicprograms_programdetails._LOCAL_LANG

The page template of a program page is not rendered by a plugin: a site sets its labels under the path of the extension.

A language file override works as well, and replaces the label of the file itself: $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'] .

Earlier versions of this extension read these overrides on TYPO3 v12 and v13 from plugin.tx_academic_programs instead, see the changelog.

Where the labels are shown 

Placeholders in angle brackets stand for a part of the key that the template or the code fills in, a category type or a field name for example.

Key Shown by
filter.moreFilters Partials/Program/DemandCategories.html
filter.submit Partials/Program/SortingAndFilters.html
list.noProgramsFound Partials/Program/ItemList.html
program.<attribute> Pages/AcademicProgram.html
sorting.direction.label Partials/Program/DemandSorting.html
sorting.field.label Partials/Program/DemandSorting.html
sys_category.programs.<type> Partials/Program/Categories.html, Partials/Program/DemandCategories.html
sys_category.programs.allOptions Partials/Program/DemandCategories.html
sys_category.programs.allOptions.<type> Partials/Program/DemandCategories.html
sys_category.programs.degree Partials/Program/Item.html
sorting.field.<field> , sorting.direction.<direction> The options of the sorting select, translated by its view helper