Showing posts with label internationalization. Show all posts
Showing posts with label internationalization. Show all posts

Monday, April 1, 2013

Internationalization with FuelPHP


FuelPHP is a free open-source PHP framework, based on PHP 5.3+. It implements a HMVC architecture (Hierarchical Model–View–Controller) where the controller plays a central part in the architecture, the view and the model being completely separated (hence they can't communicate which each other). It also offers many other features like a RESTful implementation, template parsing, an Object Relational Mapper, an authentication package and a caching system among other things. We will focus here on the way it handles internationalization in its version 1.5.1 from January 2013. The new 2.0 codebase development has already started but it should treat i18n the same way.

Sunday, February 3, 2013

Handling plurals with the Yii PHP framework


Yii (which stands for Yes, it is) is a free, open-source PHP framework started by Qiang Xue in 2008. Aimed at performance, based on MVC architecture, and following the event-driven programming paradigm, it also supports message translation, date and time formatting, number formatting, and interface localization. We will focus here on the way Yii handles the plural form format in its message translation feature in its current release (1.1.13).