Skip to content

Agency Translations

Agency translations allow you to customize text labels and messages displayed in the booking frontend. This is useful for branding, localization adjustments, or clarifying terminology for your users.

Overview

Use this feature to:

  • Override default translation strings with custom text
  • Add translations for multiple languages (Swedish, English, German, Danish)
  • Customize labels, buttons, and messages throughout the booking interface

Configuration

Accessing the Translations Page

Navigate to Agency → Translations in the admin panel.

Managing Translations

Adding a Translation

  1. Enter the translation Key (the identifier used in the frontend code)
  2. Select the Language (sv, en, de, da)
  3. Enter the Value (the text to display)
  4. Click Save

Editing a Translation

Click Edit on any existing translation to load it into the form, modify the value, and save.

Deleting a Translation

Click Delete on any translation and confirm the deletion.

Translation Key Format

Translations are stored with a composite key format:

{key}-{language}

Example:

Key Language Stored As
welcome sv welcome-sv
welcome en welcome-en
book.flight de book.flight-de

Debugging Translation Keys

To identify which translation keys are used in the frontend, you can enable a debug mode that displays the raw keys instead of translated text.

Enabling Debug Mode

Add the showTranslationKeys query parameter to any frontend URL:

https://your-domain.com/?showTranslationKeys=true

Value Result
true Shows translation keys
anything else Disables (shows normal text)

Example:

https://booking.example.com/search?showTranslationKeys=true

This will display keys like search.flights instead of "Search Flights", making it easy to identify which keys to override.

Supported Languages

Code Language
sv Swedish
en English
de German
da Danish

Best Practices

  1. Use Existing Keys: Check the debug mode to find the exact key before creating a translation.
  2. Test All Languages: If your users access the site in multiple languages, ensure translations exist for each.
  3. Keep Values Concise: UI labels should be short and clear to avoid layout issues.

Support

For assistance with translations or to request new customizable keys, contact your travel agency administrator.