Skip to content

Releases: alexblunck/react-i18n

v0.7.0

11 Oct 12:29
Compare
Choose a tag to compare
  • Export library as commonjs module

v0.6.0

15 May 17:22
Compare
Choose a tag to compare

New

  • Added I18nProvider component (See readme)

Updates

  • Use webpack for the build step

v0.5.0

08 Feb 16:14
Compare
Choose a tag to compare

Added

  • Ability to pass locale argument to I18n.translate method (Overrides default & set locale)
  • Added locale prop to Translate component
  • __ helper function which is proxy for I18n.translate method

v0.4.0

06 Feb 17:28
Compare
Choose a tag to compare

Added

  • Support for "shortcuts" (Allows using a.b.c key to access translation at a.b.c.c

v0.3.0

23 Nov 17:21
Compare
Choose a tag to compare

Added

  • reactI18nDidSetLocale event is emitted on window after setting locale

Fixes

  • I18n.translate now returns translation key as fallback only if the value is undefined

v0.2.2

06 Nov 17:23
Compare
Choose a tag to compare
  • Added browserLocale computed property to I18n class

v0.2.1

04 Nov 12:50
Compare
Choose a tag to compare
  • Added ability to set html prop on Translate component

v0.1.1

03 Nov 22:05
Compare
Choose a tag to compare
  • If translation can't be found fallback to key

v0.1.0

03 Nov 22:06
Compare
Choose a tag to compare

Initial release