Simple and lightweight I18n library for React.
Remote-i18n aims to improve Developer Experience (DX) by letting developer focus on coding and other people translate messages remotely.
<I18nProvider apiKey='your-api-key'>
{/* Simple message */}
<T id='hi' />
{/* Message with value */}
<T id='hello' values={{ name: 'world' }} />
{/* Put messages in a scope */}
<I18nScope scope='scope_name'>
<T id='hi' />
{/* Use "absolute" props to unscope message */}
<T id='hello' values={{ name: 'world' }} absolute />
{/* HTML message */}
<T
id='rich_hello'
values={{ name: 'world' }}
template={{ b: ({ children }) => <b>{children}</b> }}
/>
</I18nScope>
</I18nProvider>