PHPMaster: Localizing PHP Applications “The Right Way”, Part 4By 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.