Skip to content

Releases: ryandrewjohnson/react-localize-redux

TypeScript definition fix

09 Nov 00:41
Compare
Choose a tag to compare

Fixes a TypeScript issue where getTranslate() did not match the signature in LocalizeProps#translate

Support language names

01 Nov 01:49
Compare
Choose a tag to compare

You can now pass a language name when initializing languages (See Issue #30):

const languages = [
  { name: 'English', code: 'en' },
  { name: 'French', code: 'fr' },
  { name: 'Spanish', code: 'es' }
];
store.dispatch(initialize(languages));

Added support for HTML entities

03 Oct 17:36
Compare
Choose a tag to compare
  • Now you can use HTML entities like   © etc.. in translation data

React 16 update plus minor updates

29 Sep 17:15
Compare
Choose a tag to compare
  • updated dependencies and tests to ensure library will work with react v16
  • add enhanced type definitions for single and multiple translation data
  • update docs

new initialize options

17 Sep 08:13
Compare
Choose a tag to compare

Added two new initialize options:

  • showMissingTranslationMsg: Controls whether missing translation message will be rendered when translation is undefined.
  • missingTranslationCallback: A function that will be called when attempting to get an undefined translation. See Handle missing translations for details.

Custom translation data support

16 Sep 08:27
Compare
Choose a tag to compare
  • Add support for custom translation data formats for user's that can't use the supported formats.

TypeScript Support

12 Sep 04:41
Compare
Choose a tag to compare
  • add TypeScript definition file

flow support

04 Sep 19:52
Compare
Choose a tag to compare
  • added flow typings support

v2.6.0

26 Aug 22:04
Compare
Choose a tag to compare
  • add new initialize action creator
  • add new options argument to translate function
  • deprecate setLanguges action creator
  • optimize customeEqualSelector
  • update documentation

IE11 fix

18 Aug 20:57
Compare
Choose a tag to compare
  • Fix issue where references to array.find were breaking in IE.