{"id":33,"date":"2014-01-28T00:56:37","date_gmt":"2014-01-28T00:56:37","guid":{"rendered":"https:\/\/zedejose.com\/?p=33"},"modified":"2018-10-13T18:55:08","modified_gmt":"2018-10-13T17:55:08","slug":"woo-you-too-have-woes","status":"publish","type":"post","link":"https:\/\/zedejose.com\/woo-you-too-have-woes\/","title":{"rendered":"Woo: You Too Have Woes"},"content":{"rendered":"

How do I put this?<\/p>\n

Dear WooThemes<\/a>: to me, you have become one of the references on how to run a successful business, based solely on WordPress. Not only do you offer fantastic, pixel-perfect themes<\/a>, but also excellent plugins, most visible of which are WooCommerce<\/a> and Sensei<\/a>. I’ve used your themes and plugins a few times in the past, and only have good things to say about the structure, performance and robustness of the code. What’s more, and keeping in mind that code quality alone does not a perfect WordPress business make, you truly make a difference in what you contribute to core, sponsor almost every WordCamp in sight, and, most important of all, provide world class customer support.<\/p>\n

Which is precisely why some theme-related i18n decisions (or maybe a lack of them) baffle me to no end. Allow me to explain: I was looking for a solid framework upon which I could quickly build a website for a family member (read: unpaid), in a language that’s not English<\/span>. Hold on, this is not where my troubles started; I downloaded my purchased copy of your Canvas theme<\/a>\u00a0(version 5.5.7) to my local installation, fiddled with the CSS and Javascript until the site was just the way I liked it, fixed a few things and the site was ready. I didn’t change, or even look at, a single line of PHP. All that went well and quickly.<\/p>\n

The only thing left to do was to translate the theme’s strings to Portuguese. This isn’t a daunting task anymore: by having translated so much of WordPress itself, and also many plugins and themes, my PoEdit<\/a> installation has accumulated a very large translation memory, which normally takes care of a significant amount of the work.<\/p>\n

And so, trouble began…<\/p>\n

.pot is not only legal, but actually mandatory<\/h3>\n

The first surprise is that there is no .pot file \u2014 Seriously? What’s with all you people<\/a>? Is it the file extension that scares you off? Let me, if I may, give you a very quick reminder of language file formats<\/a>: we have<\/p>\n