There have been developments in the bbPress Trac in recent days, the plugin branch is now there (but of course not ready for use). JJJ and PeteMall have been working on it. And what more, I received my first props for the plugin :P.
Another thing is that now I would be rarely updating/adding plugins for standalone version (v1.1 or below) as it would be waste of time, instead I would spend my time on improving the bbPress plugin (v1.2 and above).
There are also some heated discussions going on in the bbPress forums about having another name for the plugin or having its version number as 2.0.
Also read: WordPress integration (official blog post)
Recently, I had released Scrim Email Saver Plugin for bbPress and Stef asked me if a WordPress version existed for the same. Today, I am releasing Scrim Email Saver Plugin for WordPress which filters your blog’s comments for Email IDs and converts them into Scr.im links so that your users’ Email IDs do not get picked up by bots and they receive less (if not zero) spam. Continue reading
This is a short tutorial with screenshots showing how a user can translate a WordPress or bbPress plugin (which has a POT file, most generally do) in his or her own language. Here, I have taken my bbPress plugin After the Deadline as an example to show how to translate with a software named Poedit. I have chosen Poedit because it has a very simple user interface, and is very easy to use.
Here are the steps:
- Download and install Poedit.
- Open it. Go to File -> New Catalog from POT file
- Select the POT file. It is generally in the root, languages or translations directory of the plugin.
- Enter the settings in the dialog box shown.
- Enter the path, which is in the same dialog box. Path is the place where is the plugin stored on your local hard disk. In my case it is F:\after-the-deadline.
- Write your translations. Here I have translated the plugin into the language hindi.Note: Be careful with the php values, such as %s, %1$s etc. Always include them in the translated string, and in the same order if it is %s and doesn’t include a $ sign! See the screenshot above for an example. Notice that %s is included in both strings.
- Save your PO file in the same directory where the POT is stored. Name it as languagecode_COUNTRYCODE. For eg. hi_IN (Hindi is the language and India is the country).
- A .mo file would also have been generated. Now notice that my POT’s name is after-the-deadline and my PO’s name is hi_IN. Now you have to rename the .mo file to POT-PO.mo. In my case, the resulted file would be after-the-deadline-hi_IN.mo. You can do the same with the PO file too, if you wish, but it is not necessary.
You have successfully translated the plugin, congrats! If you have translated any of my plugins, please contact me so that I can include the language files in my plugin. If you have any queries, ask them below!
So it is decided I guess, bbPress will finally be a WordPress plugin, most probably a canonical plugin. In the IRC meetup on 30 December ’09, Matt said that bbPress will surely become a WordPress plugin – not so soon, maybe after the release of bbPress 1.2 or so. Continue reading