Background of the issue:
I found the strings in the PHP code in the "WPCode Lite" plugin, but the strings translation can't show in the front end. I am trying to translate the PHP code in the "WPCode Lite" Plugin for my site hidden link.
Symptoms:
The translated strings in the PHP code do not appear on the front end.
Questions:
How can I make the translated strings appear on the front end?
Thanks for contacting WPML forums support. I'll be glad to help you today.
You need to wrap the test in the GetText function. After that, you can translate the string using the string translation. Kindly check this guide to know more about translating hard-coded strings.