Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@particular.cloud/i18n-react

andrelandgraf150Apache-2.00.5.12TypeScript support: included

i18n-react builds on top of i18n-js and implements a translation hook and provider

i18n

readme

Particular.Cloud

i18n-react

The i18n React SDK for Particular.Cloud. Find the JavaScript/TypeScript SDK here.

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

Installation

npm i @particular.cloud/i18n-react

Documentation

Please find the documentation on particular.cloud/documentation.

Changelog

Version 0.5.0

  • Exposes new api from @particular.cloud/i18n-js
  • Exposes currently used languageCode or locale through the i18nContext
  • Run translation queries again on config changes (reactive binding to config)

Version 0.4.0

  • Removes fetchServerSideStrings and stringProvider
  • Exposes new api from @particular.cloud/i18n-js
  • Reimplements i18nProvider and useText

Version 0.3.0

  • Re-export all of @particular.cloud/i18n-js
  • Expose reactive defaultLocale from I18nProvider

Version 0.2.0

  • Renaming of functions and types

Version 0.1.0

  • Beta release!

Version 0.0.0

  • Fairy dust 🦄