You can translate your Members Portal in as many languages as you want. We provide English, Spanish, French, Italian, German, and Portuguese translations. You also have the option to edit these translations to match your brand tone.
If a new language token is an exact match with any of the default tokens, the new language token replaces the default token.
What language is being used?
Your member portal uses the user's browser configuration to figure out what language to use. If your browser language is not one of the supported languages, we will use English by default.
Using tokens in your web components
Nexudus uses i18next to inject translations into different components. The tokens URLs above will include the default translations by default when you open your Nexudus account. If you have added any language tokens, those will also be added to those files.
To use any tokens in any of the components used in the Members Portal, you will need to:
- Import the withTranslation component.
- Add the @withTranslation HOC.
If you are using class components, you can use a decorator.
- Use the "t" function.