Labels 

The labels this extension shows in the frontend come from EXT:academic_partners/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_academicpartners._LOCAL_LANG for every content element of the extension, or under plugin.tx_academicpartners_<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_academicpartners._LOCAL_LANG {
  default.sorting.field.label = Sort by
  de.sorting.field.label = Sortieren nach
}

# Only in one content element:
plugin.tx_academicpartners_list._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
Partner List ( academicpartners_list ) plugin.tx_academicpartners_list._LOCAL_LANG
Partner Map ( academicpartners_map ) plugin.tx_academicpartners_map._LOCAL_LANG
Partners Linked ( academicpartners_partnershipslist ) plugin.tx_academicpartners_partnershipslist._LOCAL_LANG
Partner Logo Teaser ( academicpartners_partnershipsteaser ) plugin.tx_academicpartners_partnershipsteaser._LOCAL_LANG

The page template of a partner 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'] on TYPO3 v13, $GLOBALS['TYPO3_CONF_VARS']['LANG']['resourceOverrides'] on TYPO3 v14.

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

Category types of a project 

A category type is named by the label sys_category.partners.<type> . The language file of this extension has one for each type it ships. A type a project registers for the group partners has none, and is named by the title it is registered with in Configuration/CategoryTypes.yaml instead, translated into the language of the page when the title is an LLL: reference. A label set under plugin.tx_academicpartners._LOCAL_LANG , or under the path of one content element, wins over the title:

EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
plugin.tx_academicpartners._LOCAL_LANG {
  default.sys_category.partners.funding_body = Funding
  de.sys_category.partners.funding_body = Förderung
}
Copied!

A template override hands the label to the title view helper, 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
academic_partners.address Partials/Partner/Page/Address.html
filter.activeFilters.label , filter.activeFilters.remove , filter.reset Partials/Partner/ActiveFilters.html
filter.moreFilters Partials/Partner/DemandCategories.html
filter.submit Partials/Partner/SortingAndFilters.html
list.noPartnersFound Partials/Partner/ItemList.html, Templates/Partner/Map.html
list.pagination.label Partials/Partner/Pagination.html
list.resultCount.singular , list.resultCount.plural Partials/Partner/ResultCount.html
map.noLocatedPartnersFound Templates/Partner/Map.html
sorting.direction.label Partials/Partner/DemandSorting.html
sorting.field.label Partials/Partner/DemandSorting.html
sys_category.partners.<type> Partials/Partner/Page/Categories.html, Partials/Partner/DemandCategories.html, Partials/Partner/Item.html, Partials/Partnerships/List/Item.html, Partials/Partnerships/Teaser/Item.html
sys_category.partners.allOptions Partials/Partner/DemandCategories.html
sys_category.partners.allOptions.<type> Partials/Partner/DemandCategories.html
sorting.field.<field> , sorting.direction.<direction> The options of the sorting select, translated by its view helper
<ISO code>.name of EXT:core/Resources/Private/Language/Iso/countries.xlf The country of a partner's address on the partner page
widget.pagination.first , widget.pagination.previous , widget.pagination.next , widget.pagination.last of EXT:fluid/Resources/Private/Language/locallang.xlf, read with the extension name of the core extension fluid: from plugin.tx_fluid._LOCAL_LANG , shared with every other template that shows them Partials/Partner/Pagination.html