You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

i18next

Package Overview
Dependencies
Maintainers
2
Versions
488
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next - npm Package Versions

Previous
1
4748

1.2.3

Diff

Changelog

Source

1.2.3

  • extended detectLng: switch via qs setLng= or cookie i18next
  • assert county in locale will be uppercased en-us -> en-US
  • provide option to have locale always lowercased option lowerCaseLng
  • set lng cookie when set in init function

1.2

  • support for translation context
  • fixed zero count in plurals
  • init without options, callback

1.1

  • support for multiple plural forms
  • common.js enabled (for node.js serverside)
  • changes to be less dependent on jquery (override it's functions, add to root if no jquery)
  • enable it on serverside with node.js i18next-node

1.0

  • support for other attribute translation via data-i18n attribute
  • bug fixes
  • tests with qunit and sinon

0.9

  • multi-namespace support
  • loading static files or dynamic route
  • jquery function for data-i18n attibute
  • post missing translations to the server
  • graceful fallback en-US -> en -> fallbackLng
  • localstorage support
  • support for pluralized strings
  • insertion of variables into translations
  • translation nesting
jamuhl
published 1.2.2 •

Changelog

Source

21.2.2

  • log error if Intl.PluralRules API is not available
jamuhl
published 1.2.1 •

Changelog

Source

21.2.1

  • do skip natural language detection, if user provided keySeparator option is passed 1670
jamuhl
published 1.2.0 •

Changelog

Source

21.2.0

  • provide bundled esm distributable 1667
jamuhl
published 0.5.2 •

jamuhl
published 0.5.1 •

Changelog

Source

10.5.1

  • fixes call to getPluralFormsOfKey if called with unsupported language 1032
  • Avoid mutating whitelist array. 1037
jamuhl
published 0.5.0 •

Changelog

Source

20.5.0

  • introduce missingKeyNoValueFallbackToKey option
jamuhl
published 0.0.1 •

Changelog

Source

10.0.1

  • fixes support for using suffix _0 on languages only having "singular" form
Previous
1
4748
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc