There’s an old theme I wrote right at the start of the 1.5 era when I was still hung up on doing things properly and did not yet know that nobody else cared about plugin hooks or localization 😉 Well, to my astonishment somebody is now actually attempting a translation. So, since there are
_es in all the right places I successfully extracted a .po file for her to work with. So far, so simple.
Trouble is, now we have no idea how to get the theme to use the translated strings. As usual, the Codex is no help. I found this tutorial, but it says I’d need to go through all my strings adding a textdomain to them. Is this really necessary? In the absence of any docs I used Classic as a model, and that just uses __ and _e with no other parameters.
Sigh. Stuff like this reminds me why I gave up theming in the first place.
- The topic ‘Theme localization’ is closed to new replies.