Programming
Article
By Abdullah Abouzekry

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

By Abdullah Abouzekry

In Part 3 you learned some of the more important aspects of real-world localizing your application, such as using a default fallback locale and separating messages into multiple domain files depending on their usage. In this part I’ll show you what is arguably the most powerful feature of gettext – handling plural forms. The plural forms feature of gettext you enable you to localize your application perfectly and professionally. Plural Forms The early programmers who first wrote messages for display to the user soon ran into a problem.

Read More:
PHPMaster: Localizing PHP Applications “The Right Way”, Part 4

More:
Recommended
Sponsors
The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
Login or Create Account to Comment
Login Create Account