Namespace ICanBoogie\I18n
Namespaces summary
ICanBoogie\I18n\Translator |
Classes summary
FormattedString | A formatted string. |
Helpers | Patchable helpers of the ICanBoogie/I18n package. |
Locale | A locale refers to a set of user preferences that tend to be shared across significant swaths of the world. Traditionally, the data associated with it provides support for formatting and parsing of dates, times, numbers, and currencies; for measurement units, for sort-order (collation), plus translated names for time zones, languages, countries, and scripts. The data can also include support for text boundaries (character, word, line, and sentence), text transformations (including transliterations), and other services. |
NumberFormatter | NumberFormatter provides number localization features. |
Translator | Together with the Prototype class the ICanBoogie\Object class provides
means to define getters and setters, as well as define getters, setters, and
method at runtime. |
Functions summary
date_period | |
format_currency | |
format_date | Formats a date. |
format_datetime | Formats a date and time. |
format_number | |
format_size | Formats a size in "b", "Kb", "Mb", "Gb" or "Tb". |
format_time | Formats a time. |
get_cldr | Returns the CLDR representation. |
get_language | Returns the language of the current locale. |
get_locale | Returns a locale. |
set_locale | Sets the current locale. |
t | Translates a string using the current locale. |