In this documentation
On this page

Site management Current

Configure languages and the language switcher

Use Languages to manage available languages and their basic properties. Use Language Switcher to control how visitors see and select them.

Find and manage languages

Configured languages, defaults, availability and filters

View full-size screenshot

  1. Open Languages.
  2. Use Search or Status to locate a language.
  3. Review its translation progress indicator.
  4. Use the row's Active switch to control availability.
  5. Select Set Default when that language should become the default.

The Actions menu contains Edit and Delete. Open Edit to review an existing language's configuration.

Create a language

Language code, flag, names, direction and availability

View full-size screenshot

  1. Select Create to open Create Language.
  2. Enter the required Code. Use two lowercase letters, such as en or ar, or a locale code such as en-US, ar-SA, or sv-SE. Locale codes may use a dash or underscore before the two uppercase country letters.
  3. Set Flag Icon.
  4. Enter the required Name and Native Name.
  5. Choose the required Direction: LTR or RTL.
  6. Set Sort Order.
  7. Review Active, which allows the language to appear.
  8. Select Set as Default only if this should become the default language.
  9. Use Copy structure from English to include the base translation keys.
  10. Select Save, or Close to leave the form.

Check the code, native name, and direction carefully before saving.

Configure the switcher

Switcher preview, behavior, dimensions, typography and colors

View full-size screenshot

Open Language Switcher and use Live preview to review the button and its dropdown while adjusting the controls.

Under the visibility options, choose whether to show flags, the language name, the arrow, the selected-language check, and the shadow. Review Close after selection to configure the dropdown's selection behavior.

Choose the Language Label, such as Native Name, and review Alignment and Font Weight.

Dimensions

Adjust width, height, minimum width, border width and radius, dropdown offset and maximum height, visible items before scrolling, and content gap.

Typography and spacing

Configure flag size, icon size, button text, dropdown text, and padding.

Colors

Review the button, dropdown, text, borders, hover and selected states, arrow, check, shadow, and scrollbar colors.

Save and review

Select Save Settings after reviewing the preview. Open the dropdown again and check that language labels remain readable, the selected language is distinguishable, and the configured dimensions leave enough room for the available names.

Trusturex documentation · Current