Editing Translation Tokens
  • 01 Jun 2023
  • 2 Minutes to read

Editing Translation Tokens


Article Summary

Nexudus provides a default translation for your Members Portal in the following languages:

  • English
  • Spanish
  • Portuguese
  • French
  • German
  • Italian
  • Arabic*
  • Hebrew*
  • Japanese*
  • Dutch*
  • Norwegian*
  • Polish*
  • Swedish*

*The following languages must be activated before you can start using them.

You can edit the default translation of your Members Portal to fit your space's tone of voice, branding or local language specificities.

Using the white-label version of the Passport app?

You can tweak the language on the app with language tokens as well!

Step 1. Finding Your Translation Tokens Names

The first step of the translation process is to find the token name linked to each piece of text you want to edit on your Members Portal. The Members Portal code is built using tokens that lets your users see the same page in multiple languages. Each text element you see on your portal has a corresponding translation token that

To access all your translation tokens, paste your Members Portal default URL followed by any one of the extensions below:

  • English - /locales/en/translation.json
  • Spanish - /locales/es/translation.json
  • Portuguese - /locales/pt/translation.json
  • French - /locales/fr/translation.json
  • German - /locales/de/translation.json
  • Italian - /locales/it/translation.json
  • Arabic - /locales/ar/translation.json
  • Hebrew - /locales/he/translation.json
  • Japanese - /locales/ja/translation.json
  • Dutch - /locales/nl/translation.json
  • Norwegian - /locales/no/translation.json
  • Polish - /locales/pl/translation.json
  • Swedish - /locales/sv/translation.json

For example, if your Members Portal default URL is nexworking.spaces.nexudus.com and you want to change French translations, you should add the following URL in your browser and press Enter: nexworking.spaces.nexudus.com/locales/fr/translation.json

You now have access to all the current translation tokens available on your Members Portal. To find the specific text you want to edit, simply press Ctrl + F on your keyboard and search for the text you want to edit as it's currently spelled on your Members Portal.

Let's take the Articles section in Community as an example. You want to rename it Notre Actu in the French version of your Members Portal.

If you search for Articles in the translation tokens list, you'll find the following:

image.png

The first element between quotation marks is always the token's name, while the second element between quotation marks is the token's value.

In this case Articles is both the token's name and its value. Copy the token's name exactly as it is spelled in the list and save it somewhere. Repeat the process for all the text you want to tweak on your Members Portal.

Once you have the name of all the tokens you want to edit, you're ready for the next step.

Step 2. Editing Your Language Tokens

Now that you have collected your token names, you can replace the existing tokens by adding new ones with the same name.

  1. Log in to dashboard.nexudus.com if you aren't already.

  2. Click on the relevant language.

  3. Click on the Tokens tab.

  4. Click Add token.

  5. Add the name of the first token you copied in the previous step in the Name field.

  6. Add the translation you want to see on the Members Portal in the Value field.

Never remove or translate text within double curly braces {{ }}

For example, you should only translate Booking Calendar for the following token:

image749

  1. Click the Save Changes button.

Repeat the process for every other token you have. Once you're translated all the selected tokens, head over to your Members Portal and check that the translation is displayed as you intended.

You can easily track your custom translations from any of the language records on the Admin Panel. If you don't have any translation for a language the Tokens tab is empty.

Once you add your own translation for specific tokens, the tokens will appear in the Tokens tab of the relevant language.

Languages_CustomTrad.png


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.