ICanBoogie/I18n master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • I18n
      • Translator

Classes

  • FormattedString
  • Helpers
  • Locale
  • NumberFormatter
  • Translator

Functions

  • date_period
  • format_currency
  • format_date
  • format_datetime
  • format_number
  • format_size
  • format_time
  • get_cldr
  • get_language
  • get_locale
  • set_locale
  • t

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

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.
ICanBoogie/I18n master API documentation generated by ApiGen