Last active
March 19, 2018 12:16
-
-
Save shalkam/73dd996b62ee5faddf6e0ac9f3a60b2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const path = require("path"); | |
| const manageTranslations = require("react-intl-translations-manager").default; | |
| manageTranslations({ | |
| messagesDirectory: path.join(__dirname, "src/i18n/messages"), | |
| translationsDirectory: path.join(__dirname, "src/i18n/locales/"), | |
| languages: ["en", "ar", "es"] // any language you need | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment