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

Tweet

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

Get your free chapter of Level Up Your Web Apps with Go

Get a free chapter of Level Up Your Web Apps with Go, plus updates and exclusive offers from SitePoint.

No Reader comments