- Multilingual websites and webapplications using PHP and Smarty, part 3: locales
Joor Loohuis, 2009-08-30
Multilingual sites not only need support for different languages, but also for locales, the set of conventions that are used in countries and language regions for representing quantities such as time, numbers, and other information. This article describes how websites and webapplications that use Smarty can set a locale in addition to a language for the best user experience.
- Multilingual websites and webapplications using PHP and Smarty, part 2: dictionary based templates
Joor Loohuis, 2009-07-26
One of the components of a multilingual website or webapplication is providing support for different languages. Typically, the translations are not provided by webdevelopers, but by less technically oriented people, who prefer a low-tech approach to translating. In this article a dictionary based translation model for Smarty templates is demonstrated, which is easy to implement, maintain, and extend.
- Multilingual websites and webapplications using PHP and Smarty, part 1: detecting languages and locales
Joor Loohuis, 2009-07-12
Supporting more than one language in a website or webapplication has become a core feature of many projects. This series of articles explains how you can detect languages and locales, and how you can use Smarty to produce interfaces with support for languages and locales that are easy to maintain.