The Intl library

The Intl library can help you design and develop globalized server and web client applications. It supports all major locales and sublanguage pairs. As all information on the screen represents a set of strings, we must translate the other types of objects into the string format with special formatters provided by the Intl library. Translated versions of displayed strings are bundled in separate text files. The Intl library contains a class of the same name that is used to work with messages. The Intl library considers numbers, dates, and messages in different internalization areas. Each area is intentionally initialized separately to reduce the application size and avoid loading unnecessary resources. The internalization of numbers ...

Get Dart: Scalable Application Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.