esc_html__ not detected
-
Hi,
i’ve bought a theme where strings are called with esc_html__ function.
For example :
$this->text_home = esc_html__(‘Home’, ‘mytheme’); // text for the ‘Home’ linkBut Polylang doesn’t detect it for translation.
I’ve tried to used pll_register_string( ‘Home breadcrumb’, ‘Home’,’mytheme’);
the string is shown in backoffice but isn’t translated in frontoffice.
Could you fix the use of esc_html__ detection ?Regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘esc_html__ not detected’ is closed to new replies.