plugin-i18next@1.0.0
·
130 commits
to master
since this release
Initial release of @enum-plus/plugin-i18next.
✨ Features
- Seamless integration of
enum-pluswithi18next. - Global
localizeoptions:instance: customi18nextinstance (defaults to global).tOptions: static object passed toi18next.t.- Functional
tOptions(key)returning:- A dynamic options object, or
- A final translated string (short‑circuit translation).
- Supports enum item
labelfields as i18next keys (e.g.week.monday). - Supports enum type
namelocalization key.
Not Included
- Automatic UI repaint after language change.
Please consider framework plugins like @enum-plus/plugin-react / @enum-plus/plugin-vue.