[Plugin: Polylang] How to use String Translation?
-
I’m using the Polylang plugin for a multilingual website, but I can’t figure out how to use
the string translation functionality for translating custom lines.I added this line to my functions.php:
pll_register_string('Test Textblock', $testtextblock);
And I put this line in my page template:
<?php?pll__('Test Textblock');??>
But yet nothing shows up in the ‘Strings Translation’ tab of the Polylang plugin.
I’d like to add more strings to the Strings Translation tab, to make the whole website multilingual. I hope someone here can help me out with this, thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Polylang] How to use String Translation?’ is closed to new replies.