Posts Tagged gettext
This time we are joined by nobody else than Matt Mullenweg, the creator of the WordPress platform.
In the following completely fake interview, Matt will help us all understand what is new in 0.6.4:
Ofer: Hello Matt, how are you today?
Matt: I have never been so excited about a point 0.01 release of a plugin before!
Ofer: Why is that?
Matt: I think that you are finally getting the spirit of wordpress in this release
Ofer: Am I?
Matt: Yes, you are finally integrating with the platform instead of hacking around it, I really like the fact that you finally took the time and made your plugin interface and administration pages translatable, and since you are that good, you get a free blog!
Ofer: Gee, thanks! now how will I get other people to make translations of my plugin?
Matt: Just ask your users to do that, I am sure you’ll give them credit.
Ofer: Tell them the whole thing about poedit and stuff?
Matt: Come on, as I am always saying, there’s a plugin for that! And you should probably know since you translated it yourself and contributed some minor fixes.
Ofer: You mean codestyling localization?
Matt: Yes, that’s the one, anyone can use it. But I have a question for you
Ofer: For me?
Matt: Yes, why didn’t you use Transposh for doing that?
Ofer: Didn’t really see the reason, as there’s already a great plugin for it, why replicate?
Matt: I see that you are finally getting it.
Ofer: Getting what?
Matt: The spirit of wordpress, sharing, caring, open source, and free love.
Ofer: I sure hope so, thank you so much for being with us.
Matt: Thank you, next time, please interview me on a major feature, if I had to do fake interviews for every minor plugin release in wordpress, I’ll never have free time to actually improve wordpress and come to wordcamps.
Ofer: Will take notice, thanks again!
Well, thanks Matt for joining us, some features also added to this version is the Latin translation added (with google translation support), three new languages added to Bing translate. The ability to disable the gettext integration where it causes problems, with some other fixes.
As always – we hope you will enjoy this version
This new version has two major changes and lots of bug fixes included.
The most important change is the integration of the plugin with the WordPress GetText system, which is the way WordPress (and some themes and plugins) provide localized versions of themselves. This is done with a couple of files (called .po/.mo files because of their extensions) that includes a list of translated strings that that software include.
What Transposh now does is to utilize said files, so if you have the files that translate WordPress to Spanish, they will take precedence and Transposh will use the files to make the translation of the interface to Spanish. Why is this better? there are a few reasons, one is that sometimes it enables translations where they were previously impossible, another is that the translation is human based and deemed more accurate, and the last is that it can clear ambiguity especially in short strings such as month names and day abbreviations.
How to get the .po/.mo files, and more information about how this work can be found at http://trac.transposh.org/wiki/UsingGetText.
This feature also includes a rewrite of the in-memory caching system of the plugin, which now supports xcache and eaccelarator in addition to the previous versions APC support. This version uses a more compact representation of the data which improves performance and reduce memory usage.
More fixes in this version:
- Tags from the tag cloud will now be translated with mass translate
- Fix for the sneaky “not a valid plugin header” issue, if you get “Default” listed twice in your widget selection settings, please delete the widgets/tpw_deafult.php file
- Fix for MS translate tendency to add an extra space to translation result
- Fixed bug with list with flags css widget preventing the view of flags
We have also changed this site layout a bit so you can see the development feed and changes in a more real time fashion.
Waiting for your feedbacks on this version.
Update: A bug was discovered when using the plugin without caching, if you have repeat translations, or you can’t see translations previously made, please reinstall the plugin from wordpress.org, the plugin there is now fixed. Thanks Nicholas for reporting this.