Created
August 28, 2019 17:27
-
-
Save AdamRamberg/33be78f68ba795a39c21102a23e1ba07 to your computer and use it in GitHub Desktop.
Translate your React app with ease using Facebook's own framework (FBT) - init.js
This file contains 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
import { init } from 'fbt-easy-setup'; | |
import translations from '../translatedFbts.json'; | |
import locales from './locales'; | |
init({ translations, locales, defaultLocale: navigator.language }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment