从 indexed_search 分页中删除单词 'Page'?

Remove the word 'Page' from indexed_search pagination?

indexed_search 分页输出链接如 "Page 1, Page 2, Page 3" 有什么方法可以编辑它以删除 'Page' 一词,以便输出只是数字吗?

<is:pageBrowsingResults numberOfResults="{result.count}" currentPage="{searchParams.pointer}" resultsPerPage="{searchParams.numberOfResults}" />

我刚刚查看了代码,发现页面标签是从索引为 displayResults.page 的本地语言中获取的。

使用 plugin.tx_indexedsearch._LOCAL_LANG.en.displayResults.page = 并且 = 后面没有字符串应该可以。 en 是语言键,您需要为每种语言设置它。

您可以在此处找到的文档: https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/TopLevelObjects/Plugin.html#local-lang-lang-key-label-key