PHPMaster: Localizing PHP Applications “The Right Way”, Part 5

Tweet

In Part 4 you learned how to use gettext for one of the most complex aspects of localization a developer can face, plural forms. In this, the final part of the five-part series, I’ll teach you how you to automate part of the localization process by extracting msgids and generating a PO template file ( .pot ) from your application’s PHP code. Let’s dive right in! Extracting Strings from Source You’ve seen how powerful gettext is, and how easy it was to incorporate localization into your applications. But what about ongoing maintenance?

Original post:
PHPMaster: Localizing PHP Applications “The Right Way”, Part 5

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

No Reader comments