@particular.cloud/i18n-js
TypeScript icon, indicating that this package has built-in type declarations

0.5.9 • Public • Published

Particular.Cloud

i18n-js

The i18n Javascript/Typescript SDK for Particular.Cloud.

We also provide a VS Code extension for further development support!

Installation

npm i @particular.cloud/i18n-js

Documentation

Please find the documentation on particular.cloud/documentation.

Changelog

Version 0.5.0

  • Updates language api endpoint from languages/active to langauges/project
  • Latest version of @particular.cloud/texts and rexports project languages
  • Adds global and bindable langCodeOrLocale value
  • Moves optimistic acceptLanguage header parsing and language selection to i18n-js
  • Updates priorization of acceptLanguage, defaultLanguage, and explicit language
  • Improves memory cache to retrieve values for langCodes by also considering the default language if @particular.cloud/texts is in use

Version 0.4.0

  • Adds @particular.cloud/texts as a dependency
  • Adds changes to configuration options
  • Changes init function call => not async anymore
  • Changes t function call => not async anymore
  • Adds fetchT async call

Version 0.3.0

  • Adds onChangeDefaultLanguage callback function
  • Adds getDefaultLanguage and getAcceptLanguage functions

Version 0.2.6

  • Replaces websocket with socket.io connection
  • Update LICENSE

Version 0.2.0

  • Renaming of functions and types

Version 0.1.0

  • Beta release!

Version 0.0.0

  • Fairy dust 🦄

Readme

Keywords

Package Sidebar

Install

npm i @particular.cloud/i18n-js

Weekly Downloads

0

Version

0.5.9

License

Apache-2.0

Unpacked Size

143 kB

Total Files

30

Last publish

Collaborators

  • andrelandgraf
  • andreweinkoetz