Socket
Socket
Sign inDemoInstall

i18next

Package Overview
Dependencies
Maintainers
2
Versions
501
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next - npm Package Versions

1
51

1.5.8

Diff

Changelog

Source

1.5.8

  • disable cookie usage by setting init option useCookie to false
  • accept empty string as translation value
  • fixed bug in own ajax implementation not using proper sendType
  • fixed bug for returning objTree in combination with namespace
  • fixed bug in plurals of romanic lngs
published 1.5.7 •

Changelog

Source

1.5.7

  • pass namespace in t() options
  • interpolation nesting
  • changable querystring param to look language up from
published 1.5.6 •

Changelog

Source

1.5.6

  • typesafe check for window, document existance
  • runnable under rhino
  • seperated amd builds with/without jquery
published 1.5.5 •

Changelog

Source

1.5.5

  • BREAKING added all plurals: suffixes will new be same as in gettext usage (number indexes key_plural_0|2|3|4|5|7|8|10|11|20|100), additional if needed signature of addRule has changed
  • added sprintf as postprocessor -> postProcess = 'sprintf' and sprintf = obj or array
  • set default postProcessor on init
  • redone build process with grunt
  • drop in replacement for jquery each, extend, ajax
  • setting fallbackLng to false will stop loading and looking it up
  • option to load only current or unspecific language files
published 1.5.0 •

Changelog

Source

1.5.0

  • pass options to sync._fetchOne, use options for fetching
  • support for i18next-webtranslate
published 1.4.1 •

Changelog

Source

1.4.1

  • post processor
  • BREAKING: localStorage defaults to false
  • added localStorageExpirationTime for better caching control
  • few bug fixes
jamuhl
published 1.4.0 •

Changelog

Source

1.4.0

  • preload multiple languages
  • translate key to other language than current
  • fixed issue with namespace usage in combination with context and plurals
  • more options to send missing values
  • better amd support
published 1.3.4 •

Changelog

Source

1.3.4

  • set type of ajax request to GET (options sendType: default POST)
  • set cookie expiration (options cookieExpirationTime: in minutes)
  • read / cache translation options (context, count, ...) in data-attribute (options useDataAttrOptions: default false)
jamuhl
published 1.3.3 •

Changelog

Source

1.3.3

  • optional return an objectTree from translation
  • use jquery promises or callback in initialisation
  • rewrote all tests with mocha.js
jamuhl
published 1.3.2 •

Changelog

Source

1.3.2

  • options to init i18next sync (options -> getAsync = false)
  • replace all occurence of replacement string
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