tripleo-ui/.babelrc
Florian Fuchs 57c98c657d Adds basic internationalization support
This patch adds an I18NProvider component to implement react-intl's
translation mechanisms and replaces text strings in the deployment_plan
components with formatted messages.

The patch also contains scripts to convert extracted messages to `.pot`
files (which can be used with zanata.org) and back. See more details in
the README changes.

More components need to be updated once this patch has landed.

Change-Id: Ida9fc65c65bedf377341220be1d7225d1ae58b2c
Implements: blueprint tripleo-ui-i18n-support-for-js
2016-12-13 12:44:00 +01:00

10 lines
182 B
Plaintext

{
"presets": ["es2015", "stage-0", "react"],
"plugins": [
["react-intl", {
"messagesDir": "./i18n/extracted-messages/",
"enforceDescriptions": false
}]
]
}