News Feed
Jobs 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

Anthony Ferrara: What Generators Can Do For You

DevShed: MySQL Table Prefix Changer Tool in PHP

Jeremy Cook's Blog: Normalising DateTimes with Doctrine Events

Michael Nitschinger's Blog: Using Couchbase as a flexible session store

Lars Strojny: Functional programming in PHP


Community Events











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


symfony2 podcast language introduction facebook framework component support performance package unittest install release security opinion hack hhvm composer database application

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