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

Tweet

In Part 2 you gained more insight into using the gettext library by learning the most important functions of the extension. In this part you’ll learn how to best use a fallback locale, switch between locales, and override the currently selected message domain. So without further ado, let’s dive in! Directory Structure and Fallback Locales If you’ve been following along in the previous articles, you should have the following directory structure for testing the gettext library. While it is typical, it is not designed to achieve the best performance.

See more here:
PHPMaster: Localizing PHP Applications “The Right Way”, Part 3

Free JavaScript: Novice to Ninja Sample

Get a free 32-page chapter of JavaScript: Novice to Ninja

No Reader comments