Repository URL to install this package:
|
Version:
4.2.0 ▾
|
| index.js |
| package.json |
| README.md |
Common translations messages for all Doodle web projects.
yarn add @doodle/common-messages
import { FormattedMessage } from 'react-intl'; import { messages as commonMessages } from '@doodle/common-messages'; // ... <FormattedMessage {...commonMessages.helloWorld}/>
In addition to common messages, this repo provides a central location to configure and pull OneSky translations for the different projects we have.
Instead of hardcoding the OneSky project id in your frontend, consider adding it to this repo and using it like this:
const { ONESKY_PROJECT_IDS } = require('@doodle/common-messages').constants;
This library is published to the registry using Tagflow.
git tag pub.1.0.0-rc.0
git push origin pub.1.0.0-rc.0
git tag pub.1.0.0
git push origin pub.1.0.0