How to translate this piece of text in the Message Field?
I tried to add
$Definition['You have selected'] = 'Markiert:';
to the site_core.php of the german locale pack
Welcome to the community!
Some translate strings support variable information. My guess is it is something like 'You have selected %s'. You will need to search the files for 'You have selected' to make sure.
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
it is not translatable in vanilla 2.0.18.x , unless you make the following changes.
'You have selected %1$s.',
T('You have selected %1$s.'),
since you didn't specify your version of vanilla, I can't provide you with exact line numbers.
If there is already a T on the line all you need to do is add the proper definition, which you should easily find by learning how to search code with grep or notepad++.
after you make the change in core (if necessary) than add a definition
$Definition['You have selected %1$s.'] = 'Have you learned to use search or grep in your code %1$s.';
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
use the locale developer plugin. search for T strings in code.
three posts for the same thing? you got to love it.