0.0.22 • Published 2 years ago

@jll-labs/jet-web-desktop-ui v0.0.22

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Jet Common UI

Storybook

https://6139b69ee98fef003a9a6d40-qedpkhlzuq.chromatic.com/

Chromatic

https://www.chromatic.com/builds?appId=6139b69ee98fef003a9a6d40

Translations

  • use the local useI18n hook, don't access react-i18next directly

    import { useI18n } from './i18n'
    const { t } = useI18n();
  • Make sure you have latest translation catalog -> run npm run phrase:pull

  • run npm run extract to add any missing keys to translation catalog
  • run npm run phrase:push to upload locale files to Phrase (requires access_token)
  • go to https://phrase.com/ and add translations
  • To download translated files from Phrase run npm run phrase:pull