All Versions
261
Latest Version
Avg Release Cycle
12 days
Latest Release
-
Changelog History
Page 22
Changelog History
Page 22
-
v5.3.0 Changes
- Pass extra parameters to Trans parent component
-
v5.2.0 Changes
- ➕ adds module export in package.json pointing to es dist files.
-
v5.1.0 Changes
- you now can set i18n instance on translate hoc once using setI18n:
import translate from 'react-i18next'; import i18n from './i18n'; translate.setI18n(i18n);
-
v5.0.0 Changes
- [BREAKING] we no longer accept wait to be specified on i18next init options like
{ wait: true }
-> all overrides for the translate hoc now have to be in childreact
like{ react: { wait: true } }
- 0️⃣ you now can override all the default options for translate hoc by setting them on i18next.init (excluding
translateFuncName
as we need that upfront to define childContextTypes)
i18next.init({ // ... other options react: { wait: false, withRef: false, bindI18n: 'languageChanged loaded', bindStore: 'added removed', nsMode: 'default' } });
- 0️⃣ you now can override all defaults for translate hoc options (including
translateFuncName
) by using:
import translate from 'react-i18next'; translate.setDefaults({ wait: false, withRef: false, bindI18n: 'languageChanged loaded', bindStore: 'added removed', nsMode: 'default', translateFuncName: 't' });
- [BREAKING] we no longer accept wait to be specified on i18next init options like
-
v4.8.0 Changes
- 👉 make trans component work with preact and preact-compat
- ➕ add preact example
-
v4.7.0 Changes
- 🔧 Trans component parent element configurable PR278
-
v4.6.4 Changes
- ⚡️ optimize generated defaultValue for components not having children
-
v4.6.3 Changes
- 🚚 move react, prop-types, ... to peerDependency again
-
v4.6.2 Changes
- ⚡️ optimize trans component output
-
v4.6.1 Changes
- 🛠 fixes issue in changeLanguage on set via translate hoc ssr