I had a hard time during the last couple of days trying to get gettext translation work in a Wordpress installation. Eventually it turned out to be a bug (read: a missing slash) that went undetected and made me search for hours and hours. Not very cool with Christmas, but at least it's warm inside.
And I learned a lot about translating in Wordpress. If you google it, you'll probably find plugins like transposh, qtranslate (both free) or WPML (free for non-profits). There are also lots of tutorials about using gettext with Wordpress. You need a little program called poedit, that requires some configuration. The best tutorial I found (I read about six) is:
http://wp.smashingmagazine.com/2011/12/29/internationalizing-localizing-wordpress-theme/
Note that some other tutorials miss some of the relevant settings.
Happy translating!
0 comments:
Post a Comment