Programming
Article
By Abdullah Abouzekry

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

By Abdullah Abouzekry
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

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

Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.Is it good?