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

ZendCasts.com: Integrating Zend_Tool Into Your Application

php|architect: The Magic __set_state Method

Splitbrain.org: OpenID for DokuWiki

SitePoint PHP Blog: Writing API Documentation with Slate

SitePoint WordPress Blog: Speed Up Your WordPress Site


Community Events

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


laravel opinion community series release php7 application configure framework example library introduction symfony2 api performance voicesoftheelephpant podcast conference interview part2

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