Skip to main content
Version: 2.0.0

i18n

Internationalization#

We use i18next as our internationalization framework.
Our i18n module is exported from the the package. You can use it to customize or add your own wording.

import { i18n } from "@pelcro/react-pelcro-js";

Example#

i18n.addResourceBundle(
"en-US",
"login",
{
messages: {
loginTo: "Login to your account",
},
},
true,
true
);

Check i18next resource handling API for all the i18n object methods.

Our translation keys#

You can check our i18n default key, value pairs over here