Translating custom user roles
-
Hey, I’m trying to find a way to translate custom user roles (I use Polylang as a translation plugin). So far I could only find translatable strings for standard roles in your plugin’s language files. So if it’s not implemented yet, I suggest you add ppl_register_string():
https://polylang.pro/doc/function-reference/#pll_register_string
For example like this:
if (function_exists('ppl_register_string')) { // see link } else { // Standard custom user role name }That way there is no messing around with language files and it’s easy to find in the admin section. Would be great to have full Polylang support! 🙂 Correct me if I’m wrong though, maybe I just didn’t find it.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Translating custom user roles’ is closed to new replies.