diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000000000000000000000000000000000000..194df44f15a4d9f16223c6348baf25b8ca9757e9
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,8 @@
+{
+    "plugins": [
+        "transform-object-rest-spread",
+        ["react-intl", {
+            "messagesDir": "./translations/messages/"
+        }]],
+    "presets": ["es2015", "react"]
+}
diff --git a/package.json b/package.json
index 22c69e0d1308a7376b813948deae9178b35c2604..607b69edbdc3d02db071ad6be24ed0a9558cee07 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
     "build": "npm run clean && webpack --progress --colors --bail",
     "clean": "rimraf ./build && mkdirp build",
     "deploy": "touch build/.nojekyll && gh-pages -t -d build -m \"Build for $(git log --pretty=format:%H -n1)\"",
-    "i18n:src": "./scripts/build-i18n-source.js ./build/messages/ ./translations/",
+    "i18n:src": "babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/",
     "lint": "eslint . --ext .js,.jsx",
     "start": "webpack-dev-server",
     "test": "npm run lint && npm run build",
@@ -26,6 +26,7 @@
   },
   "devDependencies": {
     "autoprefixer": "7.1.2",
+    "babel-cli": "6.24.1",
     "babel-core": "^6.23.1",
     "babel-eslint": "^7.1.1",
     "babel-loader": "^7.0.0",
@@ -57,8 +58,8 @@
     "react": "15.5.4",
     "react-dom": "15.5.4",
     "react-draggable": "2.2.6",
-    "react-modal": "2.2.1",
     "react-intl": "2.3.0",
+    "react-modal": "2.2.1",
     "react-redux": "5.0.5",
     "react-style-proptype": "3.0.0",
     "react-tabs": "1.1.0",
diff --git a/webpack.config.js b/webpack.config.js
index 8c77957564b950846ca58324f6bb3f47d22b5e9d..afb0924977cbaf391636391812b268d32f44beb0 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -38,7 +38,7 @@ module.exports = {
                 plugins: [
                     'transform-object-rest-spread',
                     ['react-intl', {
-                        messagesDir: './build/messages/'
+                        messagesDir: './translations/messages/'
                     }]],
                 presets: ['es2015', 'react']
             }