React HOC to provide internationalization.
This HOC uses intl-messageformat
to format your text. (see full documentation)
yarn add k-intl
npm install --save k-intl
/* en.json */
{
"meeseeks": {
"sayHello": "I'm Mr. Meeseeks!"
}
}
/* meeseeks.container.js */
import intl from 'k-intl'
import Component from './meeseeks.jsx'
export default intl('meeseeks')(Component)
/* meeseeks.jsx */
export default ({ messages }) => <div>{messages.sayHello}</div>
uni rakun is created by two passionate french developers.
Do you want to contact them? Go to their website
Guillaume CRESPEL | Fabien JUIF |