Sorting labels in frontend are not translated
In Frontend the labels for sorting the results are not translated to german and only the shortnames (score, sortdate, title) are displayed, even the english originals (Relevance, Date, Title) are not shown.
ke_search 2.0.4, TYPO3 6.2.19 or 7.6.4
Updated by Ephraim Härer over 4 years ago
I can confirm this problem with 6.2.19 and 7.6.4 and ke_search 2.1.0, too.
I think the correct language file couldn't found by $this->pObj->pi_getLL and then fallback translation is shown.
Because I have some other changes in ke_search I fixed it for me directly in ke_search with using the Extbase translation in class.tx_kesearch_lib_sorting.php for the function generateSortingLink:
return $this->cObj->typoLink( \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('LLL:EXT:ke_search/pi1/locallang.xml:orderlink_' . $field, 'ke_search'), $conf );