Live-Search uses hardcoded texts
The labels within the livesearch fly-out are not internationalized but hardcoded within $helpContent (class.extdirect_dataprovider_backendlivesearch):
These texts are
- "How to use advanced search tags" and
- "Search in certain tables: page:Home will search for all pages with the title "Home""
Put labels into 'LANG'
(issue imported from #M16481)
Updated by Chris topher almost 11 years ago
These texts are also present in locallang_misc.xml. I just translated them and I now see them in German.
Maybe these texts in the PHP file are not needed at all and can be removed?
But there is one other untranslated text:
- The word "Search" when you hover over the magnifier icon, coming from typo3/classes/class.livesearch.php line 73.
And something else:
- A tooltip is missing when you hover over the "x" which empties the search field.
Updated by Jeff Segars almost 11 years ago
Thanks for the bug report! You're right that the hardcoded strings in the PHP files are not used at all. Attached patch removes this code and fixes the hardcoded title attribute of "Search".
For the time being, I don't think we need a tooltip over the "x" since this is used throughout the core without a tooltip.