Skip to main content

What do I set up within the Translation Module?

In the Translation Module, you manage the languages that are active within your Tweakwise environment. These settings determine which languages are available in your templates and which language Tweakwise uses to process search queries.

The Translation Module

In the Tweakwise App, navigate to Settings > Languages. Here you will find an overview of all configured languages as well as the default language.

Adding a new language

Click the + Add a language button in the top right corner to add a new language to your environment.

For each language, you configure the following details:

  • Name: Choose the desired display name for the language (e.g., Dutch, Dutch (Belgium), or English).

  • Search algorithm language: Select the language algorithm Tweakwise should use to optimize search queries (such as handling plurals and verb conjugations).

    • Available search algorithms: Chinese, Czech, Danish, Dutch, English, Finnish, French, German, Hungarian, Italian, Norwegian, Polish, Portuguese, Spanish, Swedish, Turkish, and Ukrainian.

  • Code: Enter the unique code for the language (e.g., nl, en, or deu).

    • API Integration: This unique code can be used by your developers or implementation partner as the value for the tn_lang parameter in the Tweakwise API to request the correct language on the storefront.

Setting the default language

At the bottom of the page, you will find the Default language option. Here, you select the primary language for your Tweakwise environment. This language serves as your fallback.

How the fallback language works

When a visitor views your webshop in a specific language (for example, French), but no French translation has been entered yet for a specific element (like a filter name), Tweakwise automatically falls back to the configured default language.

Example: Your default language is set to Dutch. A German visitor searches your webshop. You have translated the filter name Kleur into English (Color), but not yet into German (Farbe). In this case, Tweakwise will automatically show the visitor the Dutch version (Kleur) instead of leaving an empty space.

Did this answer your question?