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

i18next

Package Overview
Dependencies
Maintainers
1
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

1.6.6

Diff

Changelog

Source

21.6.6

  • fix: deepFind fallback when accessing missing flat dotted key 1719
jamuhl
published 1.6.5 •

Changelog

Source

21.6.5

  • fix: passed format parameter value truncation in options argument for custom formatter 1715
jamuhl
published 1.6.4 •

Changelog

Source

21.6.4

  • fix: skipOnVariables (and all other interpolation options should respect defaults) 1711
published 1.6.3 •

Changelog

Source

1.6.3

  • option to parse key if missing
  • fixes issue where plural don't get translated if language is passed in t options
  • fixes issue where key or defaultValue aren't postProcessed with itself as value
  • fixes issue with fallbackLng = false in combination with sendMissingTo = fallback
  • fixes namespace fallback loop to only loop if array has really a ns in it
published 1.6.2 •

Changelog

Source

1.6.2

  • fixes some var typo
  • fixes sendMissing to correct namespace
  • fixes sendMissing in combination with fallbackNS
jamuhl
published 1.6.1 •

Changelog

Source

1.6.1

  • PR #106 optionally un/escape interpolated content
  • PR #101 automatic gettext like sprintf syntax detection + postprocess injection
  • customload will get called on dynamicLoad too
  • fixes namespace array settings if loaded resourcebundle or additional namespaces
  • lookup of not existend resources can be fallbacked to other namespaces - see option fallbackNS (array or string if one ns to fallback to)
  • defaultValues get postProcessed
  • BREAKING: per default null values in resources get translated to fallback. This can be changed by setting option fallbackOnNull to false
  • PR #81 added support for passing options to nested resources
  • PR #88 added an exists method to check for the existence of a key in the resource store
  • fixed issue with null value throws in applyReplacement function
  • fixed issue #80 empty string lookup ends in fallback instead of returning result in language
  • fixed issue with null value in resources not returning expected value
  • optimized tests to use on server (nodejs) too
  • allow zepto as drop in replacement for $
  • using testacular as runner
  • upgraded to grunt 0.4.0
  • fixed optional interpolation prefix/suffix not used in plural translation cases
  • optimized check if there are multiple keys for the data-i18n attribute to parse
jamuhl
published 1.6.0 •

Changelog

Source

1.6.0

  • option to specify target to set attributes with jquery function by using 'data-i18n-target attribute'
  • function to set new options for nesting functionality
  • function to add resources after init
  • option to lookup in default namespace if value is not found in given namespace
  • option to change interpolation prefix and suffix via translation options
  • fixed issue with using ns/keyseparator on plurals, context,...
  • fixed issue with posting missing when not using jquery
  • post missing in correct lng if lng is given in translation options
  • proper usage of deferred object in init function
  • fixed issue replacing values in objectTree
jamuhl
published 1.5.16 •

jamuhl
published 1.5.15 •

jamuhl
published 1.5.14 •

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