February 25, 2007

Sunday Afternoon Hacking

Category: Technology — Murray Todd Williams @ 2:03 pm

I was writing a blog post earlier today and I suddenly found myself wishing that I could enhance my WordPress blog to give a word count in my blog entries. A cursory examination of the available plugins revealed a stark lack of any good plugins. (There were a couple peoples’ blogs where they said “I just wrote this plugin” but there wasn’t even a stupid link to download anything.)

So as a bit of a diversion, I wrote my first formal WordPress plugin to add this functionality. (And if you notice either on my main page or the single-entry view page, there’s a Word Count now showing!)

I even went a bit further and explored “internationalization” and figured out how to nationalize the plugin so it could display that “Word Count” label in French or Spanish. (The two languages I know well enough to translate. Maybe I’ll look up my Russian later.) And being the geek that I am, I’ve got to say it was incredible fun spending a few hours on my weekend to toy around and put this together. I love being a geek!

I’ve setup a static software page for my MTW Word Count Plugin.

1 Comment »

  1. Are you using google translate to internacionalize it or just additional files with translations?

    Comment by F Tucker — January 12, 2009 @ 1:33 pm

RSS feed for comments on this post.

Leave a comment

XHTML ( You can use these tags):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .