String translation not working
-
Hi,
I use Polylang on my website for posts and pages translation. Now I would like to use string translation function but it doesn’t work. The function always echoes the default language.
I tryed with
<?php pll_e('City'); echo pll__('City'); echo pll_translate_string('City','fr'); ?>
And regardless the current language, it always return ‘City’. However the string is registered and present in the string tab of the plugin option.
I also tried with a basic theme and without any plugin.Did I miss something ?
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘String translation not working’ is closed to new replies.