Category: i18n

UTC is Enough for Everyone, Right?

A good candidate for the Blog Post of the Year from Zach Holman. I think Eric Portis’ “w descriptors and sizes: Under the hood” is up there too, but perhaps even nerdier. Ooooh, also Frank Chimero’s “The Good Room” is up there. But I digress. Zach’s article is as educational as...

How to Implement Internationalization (i18n) in JavaScript

So, you’re a developer working on the next big thing. Your customers love your product and it’s getting rave reviews on all the social networks. Even better, the CEO of the company has just secured $10,000,000 in funding to expand into new markets. But before you can go global, the product must be updated t...

Localizing Dates, Currency, and Numbers with Php-Intl

The 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...

Localization Demystified: Php-Intl for Everyone

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...

Easy Multi-Language Twig Apps with Gettext

There 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...

Multilingual Support for AngularJS

There are some cases in which providing a multilingual support is required. Sometimes it could be a good idea to provide support for different languages into the application you’re building and offer your users the possibility to view the content in different idioms. In this tutorial I’ll show you how to add a mult...

Fast Multi-language Docs with SitePoint’s RTDSphinx-PHP

This post will guide you through getting up and running with RTDSphinx-PHP, a ReadTheDocs-friendly Sphinx based PHP documentation skeleton with sane defaults, pre-installed directives, and modified styles for optimal API and prose documentation rendering in multiple languages. For an unfinished example of the documenta...