Bug #81095

Indexed Search Label "displayResults" not translatable by TypoScript

Added by David Rellstab about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2017-05-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When trying to override the label "displayResults" in TypoScript:

_LOCAL_LANG {
fr {
displayResults = mytranslation
}
}

nothing happens and the default language output is shown.


Related issues

Related to TYPO3 Core - Bug #78344: Missing use case for overriding language labels with TS and ExtbaseClosed2016-10-19

Actions
#1

Updated by Riccardo De Contardi almost 4 years ago

  • Status changed from New to Needs Feedback

Hi @David Rellstab, I am not able to reproduce it with the version 8.7.4

I used in TS Setup:

plugin.tx_indexedsearch{
_LOCAL_LANG{
  default.displayResults = Displaying my own results <strong>%1$s to %2$s</strong> out of <strong>%3$s</strong>
  it.displayResults = Visualizza i miei risultati da <strong>%1$s a %2$s</strong> di <strong>%3$s</strong>
  }

}

Can you add more information about your configuration and how to reproduce it? Thank you!

#2

Updated by Susanne Moog almost 4 years ago

  • Status changed from Needs Feedback to Accepted

@Riccardo: It doesn't work if you have included the default TypoScript of indexed_search, OR:


plugin.tx_indexedsearch{
_LOCAL_LANG{
  default.displayResults = Displaying my own results <strong>%1$s to %2$s</strong> out of <strong>%3$s</strong>
  default.displayResults.next = >>>
  }
}

The problem occurs when a toplevel key exists and additionally sub-keys are used.

#3

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53701

#4

Updated by Gerrit Code Review almost 4 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53704

#5

Updated by Anonymous almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed
#7

Updated by Sebastian Schmal over 2 years ago

  • Priority changed from Should have to Must have

A new Bug is here:
the typoscript dont work with HTML !

displayResults.previous = &lt; test
displayResults.next = test &gt;
#8

Updated by Josef Glatz over 2 years ago

Sebastian Schmal wrote:

A new Bug is here:
the typoscript dont work with HTML !

[...]

Hey Sebastian, if it's a new bug you have to better create a new issue as this issue is already closed

#9

Updated by Georg Ringer over 1 year ago

  • Related to Bug #78344: Missing use case for overriding language labels with TS and Extbase added

Also available in: Atom PDF