core

The internationalization (i18n) library for Angular

MIT License

Downloads
719
Stars
4.5K
Committers
107

Bot releases are hidden (Show)

core - v1.2.1

Published by ocombe almost 9 years ago

<a name"1.2.1">

1.2.1 (2015-12-12)

Bug Fixes

  • package: support for angular alpha 52 & rxjs alpha 13 (d81a8441)
core - v1.2.0

Published by ocombe almost 9 years ago

<a name"1.2.0">

1.2.0 (2015-12-09)

Features

  • service: bump to angular alpha 48 (8bb3f9b9)
core - v1.1.7

Published by ocombe almost 9 years ago

<a name"1.1.7">

1.1.7 (2015-12-02)

Bug Fixes

core - v0.1.3

Published by ocombe almost 9 years ago

Bug Fixes:

  • using interval instead of timeout to fake Observable share
core - v0.1.2

Published by ocombe almost 9 years ago

Bug Fixes:

  • changing back to an existing lang should not return the previous lang
core - v0.1.1

Published by ocombe almost 9 years ago

Bug fixes:

  • removed trailing slash on default prefix for static loader
  • don't trigger multiple ajax call for translations when it's pending: I had to use a fake share implementation on get translation observable until Angular updates RxJS to 5.0.0-alpha.6
core - v0.1.0

Published by ocombe almost 9 years ago

Features:

  • Added a new Parser class (used internally, but I figured that someone might want to use it)
  • Added the ability to use interpolated strings
  • Parameters given to TranslatePipe will now be used for interpolated strings
  • Added a property currentLang to TranslateService
  • Added a new optional parameter interpolateParams to the method get from TranslateService
  • Better & faster code now that I understand Observables better :-)
  • Lots of documentation added to the readme & to the code
  • Added sourcemaps for the files

Bug Fixes:

  • onLangChange is now correctly triggered when calling the method use instead of when calling the method getTranslation

Breaking changes:

  • Renamed setDefault to setDefaultLang
  • Renamed onLanguageChange to onLangChange and moved it from the loaders to TranslateService
  • Moved useStaticFilesLoader from the static loader to TranslateService
  • Removed the unused property method from TranslateService
Package Rankings
Top 9.12% on Proxy.golang.org
Top 18.54% on Repo1.maven.org
Top 5.45% on Npmjs.org
Badges
Extracted from project README
npm version