This worked, just adding an extra attribut (which can be translated with php):
<...data-filter-placeholder="Some string"...>
Answered originally by Pavlo as a comment.
質問
We use the list filter in jquery mobile:
<ul data-role="listview" data-filter="true">
...
So, this creates an input field with the following placeholder text in it "Filter items...":
Where or how can I change the language/text of this field?
I looked in the global configuration, but did not find any clue...
解決 2
This worked, just adding an extra attribut (which can be translated with php):
<...data-filter-placeholder="Some string"...>
Answered originally by Pavlo as a comment.
他のヒント
Try this on document ready
$("input[placeholder='Filter items...']").attr("placeholder", "Search...");
This will just find all inputs elements with "Filter items..." & will Replace that text with "Search...".