plugin strings not added
-
Hi,
I am new to polylang and want to translate strings from PmPro but none of the strings are added to the string translation page. I don’t know what I did wrong. I added
pll_register_string
Allows plugins to add their own strings in the “strings translation” panel. The function must be called on admin side (the functions.php file is OK for themes).
Usage:pll_register_string($name, $string, $multiline);
‘$name’ => (required) name provided for sorting convenience (ex: ‘myplugin’)
‘$string’ => (required) the string to translate
‘$multiline’ => (optional) if set to true, the translation text field will be multiline, defaults to falseto function.php but it doesn’t show up
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘plugin strings not added’ is closed to new replies.