Ask AI

Languages & Translations

Learn how to customize all texts on your Unidy instance and offer multiple languages

With Unidy, you have complete control over the language and wording used throughout your instance. Tailor the login portal to match your brand's voice and tone, and ensure a localized experience for your global user base. For easier reading we are always referring to translations even if there is only a single language and you are looking to customize the wording.

Multilanguage is a premium feature. Get in touch with your CSM in Unidy to level up.

Administrate Languages in Unidy

In the following, we will guide you through the administration and setup process for single or multi-languages in Unidy. Please set up the language(s) on your staging environment first, before moving it to production.

Before setting up the feature, please make sure that the following topics are covered:

  • Provide translated email templates To communicate with your users in their preferred language Unidy must implement email templates for all selected languages. Please provide the HTML templates to your CSM.
  • Make sure that your preferred languages are already available at Unidy Unidy offers almost every language, however, some have to be set up by your CSM initially. Please contact your CSM.

Brand Language Configuration

To access the language settings, admins can navigate to the Languages section within their admin portal (https://brand.unidy.de/admin/languages).

Multilanguage configuration in Unidy
Multilanguage configuration in Unidy

Relevant settings and description

Setting
Description
Brand name
Name of the instance you are selecting the languages for. If you are using single brand instance, you will see only one option in the list. If you are using multibrand setup, you will see an option for each brand.
Enable multilanguage?
Enable multi-language for your brand by ticking the box. If you don’t want to over multiple languages keep the box unticked.
Available languages
Select your relevant languages. You can only select multiple languages if the feature is enabled. (See option above)
Default language
The default language serves as a fallback when a specific language is not available or the user didn’t select a language.
Default to user’s device language
If enabled, Unidy will automatically select the language based on the default language set on the user's device. If the device language doesn’t match any of the configured languages, the default language is selected.

Language selection

To ensure that users always have easy access to their preferred language, Unidy provides a variety of manual and automated options for language selection.

Based on the selected languages, Unidy dynamically adapts all text elements, including phrases and email templates, to the selected language (e.g., switching from German to English). The selected language is saved in the respective user profile, once the user is logged into Unidy.

The data field preferred_language is also accessible for third-parties via API or Webhook.

 

The displayed language is determined by a priority ranking:

  1. Cookie value (for logged-out sessions)
  1. User-specific language preference
  1. Device language (if option activated)
  1. Default (global) language

Language switcher

Users can easily switch between the available languages in the platform's footer. Once the language is selected it is the user-specific language preference.

Language switcher in Unidy
Language switcher in Unidy

Device Language

When activated in the Brand Language Configuration, Unidy pre-selects the language for your user based on the respective device language used by the user. If the device language is not available the default language is selected.

Directing Users to Change Preferred Language via URL

Users can be directed to change their preferred language by visiting specific URLs, such as brand.unidy.de/language/de or .../language/en. To ensure these changes take effect, users must log in. To expedite this process, you can use the force_login=true query parameter in the URL, such as https://brand.unidy.de/language/de?force_login=true. Note that this functionality currently only works for email and password logins and not for social logins.

Translations

In the following, we explain how to manage translations and wordings in general.

Finding translations

When you enter the admin area for locale translations, you will see all translations that have been customized so far. On a fresh instance, this list is empty but Unidy provides a fully working set of texts for german, english, french and dutch.

Notion image

In order to find a correct translation there are two approaches.

Finding a translation via full text search

If you want to update the main title on the login/signup page “Log in or create account”

Notion image

Then you can try to search for that text.

Notion image

While presenting an easy approach, there are some limitations:

Very generic texts will lead to many results and hard to find the correct translation.

Texts that are compound of more than one translations won’t be found.

Texts that include dynamic content or HTML markup won’t be found.

Finding a translation via it’s key

In order to make the translation keys visible in the front end, you need to switch to the “Show keys” mode that can be found in the top right corner. The mode can always be quit by a special menu that appears in the top right corner, when the mode is active.

Button to activate “Show keys” mode
Button to activate “Show keys” mode
 
Menu to exit the “Show keys” mode
Menu to exit the “Show keys” mode
 

In that mode you will see the keys of all used translations while navigating through the platform.

Notion image

The search for those keys is then very specific, which will help you to identify mulitple results found in full text search.

Notion image

Updating a translation

As soon as you found the correct translation, you can edit it

Notion image

If Brand is not set the translations will be valid for all brands.

Special HTML translations

The keys that end with _html are able to render any HTML markup that is placed into the translation.

Notion image
Notion image

If HTML markup is added to keys without that suffix, the HTML will just be rendered as text.

Special dynamic translations

Some translations contain variables that are automatically set by the Unidy system and can be used in the translation.

Notion image
Notion image

In this example we lookup the translation “Connection with Services of Brand ID” via the “Show keys” mode and see that the content of that translation is “Connection with Services of” combined with a variable %{brand}

Notion image

You can now updated that translation and choose to place the %{brand} on another position, or even not use it at all. %{brand} is the name of the respective Brand as state in Brands menu.

Special feature specific translations

As all of text pieces in your Unidy ID, translations can be managed in the translation tool. However, there are some dynamic fields that must be set in the respective menu area.

An exception to this are dynamic texts!

Dynamic fields are all text pieces, that can be created by an admin:

  • OAuth title and description
  • Newsletter names and descriptions, Newsletter preference names and descriptions, Newsletter preference groups names and descriptions
  • Subscription category title and description
  • Menu links
  • Custom attribute display names
  • Locked attributes text

These translations can be added by yourself through the admin. After creating a new object, you will see all text pieces as blue buttons. You can click these buttons to add translations.

Blue buttons for adding translations in Unidy
Blue buttons for adding translations in Unidy

By default you will be provided with all the language options that are activated for your Unidy ID. Missing translations are indicated by disabled flags on the text pieces. If you don’t add translations for a text, the base translation will be used instead. The base translation is the text that you added when creating the object initially. To save your translations click on Update [ dynamic field ] below the translation fields.

Adding translations for newsletter preference in Unidy
Adding translations for newsletter preference in Unidy
Did this answer your question?
😞
😐
🤩