I'm using Polylang plugin on recent website. Posts and pages, also categories translations work perfectly. But I have problem with translations of custom strings.
I am registering string in my functions.php file with:
pll_register_string('read_more', 'Read More');
Then, in my template view I'm trying to get access to it by:
pll_e('read_more');
In response, I'm getting the "read_more"... The same if I tried to:
pll_e('Read more');
According to function reference of that plugin, it's a proper way. Maybe someone had a similiar problem in the past and can help.
Edit: I've conquer the problem by using Polylang extension for custom string. But, maybe someone can resolve this anyway.