Skip to content

Releases: robisim74/angular-l10n

v0.8.4

16 Jun 12:23
Compare
Choose a tag to compare

Features

  • Angular: upgraded to 2.0.0-rc.2.

v0.8.3

10 Jun 09:53
Compare
Choose a tag to compare

Features

BREAKING CHANGES

v0.8.2

07 Jun 20:17
Compare
Choose a tag to compare

Features

  • Added ability to define the script, the numbering system and calendar in default locale. See here for further information.

v0.8.1

28 May 13:07
Compare
Choose a tag to compare

Features

  • Moved from System to CommonJS: in addition to SystemJS, now you can consume the library by a module bundler as webpack.

C'est la vision des nombres

25 May 20:00
Compare
Choose a tag to compare

Features

  • Number validation by locales.

v0.7.2

23 May 10:02
Compare
Choose a tag to compare

Bug fixes

  • Fixed compile errors (#9).

Features

  • Added support for more than a reference to the service - multilanguage views (#11).
  • Added support for i18n plural for the translation of numbers + strings.

v0.7.1

12 May 22:59
Compare
Choose a tag to compare

Features

  • Added Collator for sorting & filtering by locales, and Intl support.

v0.7.0

10 May 11:24
Compare
Choose a tag to compare

Features

  • Now the library uses pure pipes. To know the advantages over impure pipes, please see here.

BREAKING CHANGES

The use of pure pipes requires many changes:

  • For example, to get the translation use in the view:
{{ 'TITLE' | translate:lang }}

and in the component extend Locale superclass:

import {Locale, LocalizationService} from 'angular2localization/angular2localization';
...
export class AppComponent extends Locale {

    constructor(public localization: LocalizationService) {
        super(null, localization);
        ...
    }

} 
  • Call updateTranslation method of LocalizationService after the initialization and after each change of language.
  • AsyncRoute is no longer supported.

Please read carefully the README or see the sample app.

v0.6.0

06 May 10:45
Compare
Choose a tag to compare

Features

  • Added the localization of arrays.

v0.5.3

04 May 09:22
Compare
Choose a tag to compare

Features

  • Angular2: upgraded to rc.1.
  • Improved LocaleDatePipe & LocalizationService.