- 25 Oct 2024
- 1 Minute to read
- DarkLight
Adding Language Tokens
- Updated on 25 Oct 2024
- 1 Minute to read
- DarkLight
You can create new language tokens to add words or sentences that aren't translated on your Members Portal yet.
For example, your Members Portal is available in English, French and Spanish. Your resource names and descriptions can be defined for each language, but your resource type can only be defined in the default language. You can easily add a translation token for each resource type in French and Spanish to also have your resource categories translated.
Follow our tutorial on Editing Specific Language Tokens on the Members Portal instead.
The language token you create has a name and a value. The name is the token's name in the code, while the value is the translation displayed on the Members Portal.
Log in to dashboard.nexudus.com if you aren't already.
Click Settings > Languages.
Select the relevant language.
Click on the Tokens tab.
Click Add language token.
Add the name of the token Name field.
This name must be an exact match (case and spelling) with the text you're translating. For example, if you want to translate a resource category that you named Meeting Rooms, you should add Meeting Rooms in the Name field of the token.
- Add the translation you want to display on your Members Portal in the Translated as field.
Click the Save button.
All set! Your token is now available in the relevant translation.
If you can't see the translated element on your Members Portal, go back to the Admin Panel and make sure the spelling and case of the text in your token Name is an exact match with the original element on your Members Portal.