Language Selector
Last modified: November 19, 2024
Introduction
The Language Selector widget allows the end-user to easily switch the language of your application.
Features
- Displays a list of app languages available to the end-user determined by the developer.
- Allows end-users to switch between languages and see changes immediately.
- Uses a default configuration in the Atlas Design System for ease of use.
Configuration
To configure this widget, follow these steps:
- Use the Language Settings page to configure your app’s languages.
- Use the Language Selector widget to configure how your language list will be visible in your app.
- In the app, easily switch languages by tapping on desired language.
General Tab
Languages Section
- Data source (required) – select a language data source (Mendix recommends using the System.Language entity as your database data source)
- Language caption (required) – add your expression to use for language items (Mendix recommends using the expression
$currentObject/Description
)
General Section
- Menu position – sets the location of a visible menu relative to the trigger area
- Default: Bottom
- Open on – determines if hovering or clicking the trigger widgets displays the menu
- Default: Click
- Hide for single language – determines whether or not to render language selector in your DOM
- Default: Yes