May 20, 2016The first part of this series was an introduction of the PHP Intl extension and of how to localize your application’s messages. In this part, we’re going to learn about localizing numbers, dates, calendars, and similar complex data. Let’s get started!Localizing Decimals
This may sound odd, but one o...
May 16, 2016
Most applications perform locale aware operations like working with texts, dates, timezones, etc. The PHP Intl extension provides a good API for accessing the widely known ICU library’s functions.
[author_more]
Installation
The extension is installed by default on PHP 5.3 and above. You can look for it by runnin...
April 13, 2016There are many approaches for adding new languages to your application’s UI. Though some userland solutions like symfony/translation are arguably simpler to use, they’re slower than the good old native gettext by an order of several magnitudes.
In this tutorial, we’ll modify an English-only application to use get...
Recent Comments