Language Switcher (en/zh)
This module is an out-of-the-box ‘language switcher’ button widget which you can easily include in your application and switch language between en_US and zh_CN.
Just add the LanguageSwitcher snippet somewhere in your application (for example in global layout, so the user will always see it).
This module is an out-of-box ‘language switcher’ widget which you can easily include in your application. It only supports dynamic language-switch between en_US and zh_CN. You need to configure these languages in Mendix Studio Pro at first.
- Mendix Studio Pro 9.9.1+
- Community Commons
- Add new language(Chinese) in the menu option Language > Language Settings
- Translate from English to Chinese
- Import languageswitcher module
- Call Snip_LanguageSwitcher_Buttons in your layout or somewhere you want to show the language switcher.
- The text color of ‘Snip_LanguageSwitcher_Buttons’ is white and the text color of ‘Snip_LanguageSwitcher_Buttons_Dark’ is default as black.