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

DevShed: Auto Loading Classes in PHP 5

AjaxRay.com: Setting up Database testing with Kohana UnitTest module

Sebastian Bergmann's Blog: php|works 2006

PHPFreaks.com: PHP Loops

Tutorialzine.com: AJAX-enabled Sticky Notes With PHP & jQuery


Community Events





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


podcast release install laravel framework unittest code developer threedevsandamaybe series opinion interview configure introduction refactor community wordpress language list testing

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