Skip to content

It's just Angular l10n

Compare
Choose a tag to compare
@robisim74 robisim74 released this 03 Feb 00:22
· 511 commits to master since this release

Features

  • Angular version: 2.4.5

BREAKING CHANGES

There are important breaking changes in the components, but not in the templates:

  • rename angular2localization to angular-l10n in all the imports
  • rename LocalizationService to TranslationService
  • if you are using the library only for translating texts, rename Locale to Translation, and pass to the constructor only the instance of TranslationService
  • if you are using the library for translating texts, dates and numbers, rename Locale to Localization, and pass to the constructor the instances of LocaleService and TranslationService
  • new modules and new configuration: please see https://github.com/robisim74/angular-l10n/blob/master/doc/spec.md#2
  • the methods for collator are now in injectable Collator class
  • validation requires to import its module, and use injectable LocaleValidation class for parsing a number: https://github.com/robisim74/angular-l10n/blob/master/doc/spec.md#6
  • IntlSupport class is now IntlAPI