Translations
Adding new translations keys
- Add keys to Phrase App and run
paexport
in the #logs-phraseapp Slack channel - Update
@kiwicom/translations
- Run
yarn fixtures
to update static files - Done 🎉
Troubleshooting
If your new key isn’t used, you could:
- check
node_modules/@kiwicom/translations
and verify that new translation keys are there - check if you are using
withData
decorator in storybook - check
data/tkeys.json
file and verify that your key is there, if not you probably forgot to wrap it using the__("yourkey")
function