News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
In My Language, Please! - Translating WordPress Themes and Plugins
April 23, 2012 @ 12:27:36

On PHPMaster.com there's a new tutorial showing how to use the localization support that comes with WordPress to make using different language definitions much simpler.

WordPress itself is translated to many languages and people can use it in their preferred language. But this is not the case with themes, plugins, and other front-end customizations. [...] The purpose of this article is to show you how to translate properly any theme or plugin by using internationalization and localization methods. In brief, internationalization (i18n) deals with making sure strings of text are wrapped in specific function calls.

He starts by introducing the PHP functions (and configuration) you'll need to get the localization support up and running in your plugin, including a few examples of how to translate a string. Also included into the post is an introduction to using the Poedit software to create the different translation files.

0 comments voice your opinion now!
wordpress translate poedit plugin tutorial


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Create a Movie Recommendation App with Prediction.io Implementation

IBM developerWorks: PHP frameworks, Part 1: Getting started with three popular frameworks

DevShed: Positioning Strings with the show_xy() Method in PDF Documents with PHP 5

Jason Houle's Blog: Zend Framework: The Dijit Editor

Matthias Noback: Symfony2: How to create framework independent controllers?


Community Events





Don't see your event here?
Let us know!


voicesoftheelephpant list tips laravel opinion bugfix interview language series community release symfony podcast framework api library deployment introduction install package

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework