Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i18next

Package Overview
Dependencies
Maintainers
2
Versions
517
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next - npm Package Versions

1
52

3.5.0

Diff

Changelog

Source

3.5.0

  • Setting options on individual translations override, rather than merge global configs #832

  • Create an new translator when cloning i18next instance #834

  • allows fallbackLng to be an string, an array or an object defining fallbacks for lng, lng-region plus default, eg

    fallbackLng: { 'de-CH': ['fr', 'it', 'en'], 'de': ['fr', 'en'], 'zh-Hans': ['zh-Hant', 'en'], 'zh-Hant': ['zh-Hans', 'en'], 'default': ['en'] }

jamuhl
published 3.4.4 •

Changelog

Source

3.4.4

  • Fix Interpolator.escapeValue defaulting to undefined in some cases #826
jamuhl
published 3.4.3 •

Changelog

Source

3.4.3

  • Fix Interpolator formatter exception error propagation due to not reset RegExp indices #820
jamuhl
published 3.4.2 •

Changelog

Source

3.4.2

  • assert dir function does not crash if no language available
jamuhl
published 3.4.1 •

Changelog

Source

3.4.1

  • fix issue with format containing formatSeparator for interpolation formatting
jamuhl
published 3.4.0 •

Changelog

Source

3.4.0

  • adds formatting 'format this: {{var, formatRule}}' having a function on options.interpolation.format: function(value, format, lng) { return value } like suggested here #774
jamuhl
published 3.3.1 •

Changelog

Source

3.3.1

  • fixed an issue with several unescaped key in the interpolation string #746
jamuhl
published 3.3.0 •

Changelog

Source

3.3.0

  • allows option nonExplicitWhitelist on init #741
jamuhl
published 3.2.0 •

Changelog

Source

3.2.0

  • adds api function i18next.reloadResources(), i18next.reloadResources(lngs, ns) to trigger a reload of translations
jamuhl
published 3.1.0 •

Changelog

Source

3.1.0

  • emits missingKey always (like console.log) even if saveMissing is of -> use missingKeyHandler if you only want the trigger only on saveMissing: true
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc