Articles Tagged with i18n
-
Mariano Iglesias - Internationalization with CakePHP
Written on 2008-12-04 13:30:00 in CakeFest, CakePHP,
Viewed 14938 times 1 CommentWhy internationalize? You can attract a larger market by making content available in additional languages. When offering international content, you need to translate both the fixed and dynamic content in the database. In CakePHP you can facilitate translation with __() and __n(). In addition content stored in the database can be translated with TranslateBehavior. Multibyte characters exist in many languages, characters outside the traditional latin character set are represented with multibyte characters. This allows for the creation of additional characters and idiomatic expresssion. There is a PHP extentsion for using multibyte strings, it provides the mb_ functions. CakePHP also provides a MultiByte class which provides all the mb_ functions for PHP4 or PHP5 installations lacking them. Using translation in CakePHP By using __() w... -
Written on in Uncategorized,
Viewed 0 time 0 Comment