@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 🦄

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.91latest

Version History

VersionDownloads (Last 7 Days)Published
0.5.91
0.5.81
0.5.71
0.5.61
0.5.51
0.5.41
0.5.31
0.5.22
0.5.12
0.5.01
0.4.71
0.4.61
0.4.51
0.4.41
0.4.31
0.4.21
0.4.11
0.4.01
0.3.11
0.3.01
0.2.91
0.2.81
0.2.71
0.2.61
0.2.51
0.2.41
0.2.31
0.2.21
0.2.12
0.2.01
0.1.11
0.1.01
0.0.211
0.0.201
0.0.191
0.0.182
0.0.171
0.0.161
0.0.151
0.0.141
0.0.131
0.0.121
0.0.111
0.0.101
0.0.92
0.0.81
0.0.71
0.0.61
0.0.51
0.0.41
0.0.31
0.0.21
0.0.11

Package Sidebar

Install

npm i @particular.cloud/i18n-js

Weekly Downloads

58

Version

0.5.9

License

Apache-2.0

Unpacked Size

143 kB

Total Files

30

Last publish

Collaborators

  • andrelandgraf
  • andreweinkoetz