I am trying to find strings from some custom php code I added. It displays one sentence for visitors who are not logged in. One part of that sentence is also styled as a button. How can I find the string(s) of this custom code and translate it to English and German. Is this even possible or do I have to solve this in another way?
What is the link to your site?
Here you can see the sentence + button that I want to translate to the other two languages: hidden link
However, I will try to point you in the right direction. In order to make the strings added with custom code translatable, the following conditions have to be met:
- The string must be wrapped in gettext calls.
- There must be a textdomain argument.