Skip to content

Releases: toonvanstrijp/nestjs-i18n

V5.1.0

03 Mar 09:23
Compare
Choose a tag to compare
  • adding AcceptLanguageResolver thanks to @Neo-Zhixing! 🎉

V4.1.3

30 Nov 11:42
Compare
Choose a tag to compare

changes

  • add node 8 & 9 support

fixes

#72

V4.1.2

25 Nov 07:46
Compare
Choose a tag to compare

fixed: #75

V4.1.0

01 Nov 19:44
Compare
Choose a tag to compare

features:

  • I18n decorator which returns I18nContext which combines resolved language with I18nService and wrappes translate method.
  • Added I18nRequestScopeService which is a short hand for usage in other services (with caution).`
  • Added simple CookieResolver

V4.0.6

25 Sep 15:25
Compare
Choose a tag to compare

changes

  • implement generic resolvers #54

V4.0.5

30 Aug 13:38
Compare
Choose a tag to compare
  • several bug fixes and improvements

V4.0.1

26 Aug 09:18
Compare
Choose a tag to compare
  • fixes issue where HeaderResolver wasn't exposed #38

V4.0.0

24 Aug 23:42
dd0cce7
Compare
Choose a tag to compare

breaking change!!!

  • from V4.0.0 on we changed the signature of the translate method, the language is now optional, if no language is given it'll fallback to the fallbackLanguage

V3.1.0

15 Aug 15:46
Compare
Choose a tag to compare
  • use fallback language if a string is requested for a non supported language

V3.0.0

05 Jul 17:25
Compare
Choose a tag to compare

Breaking changes:

  • from V3.0.0 on we load translations based on their directory name instead of file name. Change your translations files to the structure above: info