Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var options ={
- lng: 'en',
- supportedLngs: ['en', 'cn'],
- preload: ['en', 'cn']
- };
- i18n.init(options,
- function (t) {
- router.run(function (Handler, state) {
- React.render(<Handler/>, document.getElementById('app'));
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement