I'm trying to set up a custom theme and obviously I have a few strings such as "read more" that need to be translated.
Now I found Choubys Code Snippet on Pastebin.
Unfortunately, it doesn't do what I want. I need to be able to register strings within my Theme, but pll_register_string is limited to backend use. Why would a Theme developer do that? I can't be bothered to create some plugin in the backend just to create strings. Unfortunately one can't manually create a new string in the Polylang backend.
So, what's the approach on that?
Thanks in advance!