Pigs help translate your plugin

I’m in the middle of translating the WP Super Cache plugin (one of my goals before a 1.0 release). The docs make it easy to understand how to do it, but it is such a chore when there is so much text. According to Vim, I’m about 25% of the way through wp-cache.php

Checking to make sure that all the strings are translated is tiresome but the Pig Latin plugin makes it easier to spot untranslatable strings:

supercache1

supercache2

There will be a new release of supercache soon, but check out the download page and grab the development version if you want an exclusive look at the new debugger, “newest cached files” listing and bug fixes.

13 thoughts on “Pigs help translate your plugin

    1. It’s a PITA! __() and _e() all over the place. Hopefully it’ll encourage someone to translate the plugin, and I might even try an Irish translation though I have no idea what some of the technical terminology would be.

      1. It sure is a pain. That’s why I’ve been lazy about it lately. Then of course the few dozen languages it’s translated into have to be updated, etc every time I change anything.
        Don’t the Irish speak English?

        1. Oh yes, everyone speaks English as a first language. Well, 99.999999% of people do. There might be a few babies and toddlers in the Gaeltacht or Irish speaking areas of the country who only speak Irish.
          It’s only a small minority actually speak Irish at all, and even fewer can carry on a conversation in Irish. An Irish translation would be mainly for pride and “just because”.

  1. Nice find, Donncha! This will come in very handy. 🙂 On a related topic, anyone have experience in setting up Pootle to allow for easier user-contributed translations? I’m thinking about doing it for my plugins, and wanted to get some experiences first.

  2. Hi,

    I installed your plugin on my blog (which is using Thesis theme) & it gives the following error:

    Trailing slash check required.

    It looks like your blog has URLs that end with a ‘/’. Unfortunately since you installed this plugin a duplicate content bug has been found where URLs not ending in a ‘/’ end serve the same content as those with the ‘/’ and do not redirect to the proper URL.To fix, you must edit your .htaccess file and add these two rules to the two groups of Super Cache rules:

    RewriteCond %{REQUEST_URI} !^.*[^/] %{REQUEST_URI} !^.*//.*$

    Please advice.

    Cheers!

      1. Sir,

        I did that, however, it still showed the same error. I un-installed, re-installed, no joy.

        Anyways, I’ll not disturb you again.

        Take care.

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close