How to?
How to?
How to use multi-language on Navi+?
Navi+ fully supports multi-language in two parts:
1) Use syntax to automatically display the correct language.
For example, imagine you have a Navi+ Tabbar shown on your website with 3 languages: English (default), French, and Vietnamese. The short-code for French is fr
and for Vietnamese is vi
.

To display the menu item Home in the right language, use this syntax:
Home <fr: Maison> <vi: Trang chủ>
When your Tabbar is displayed, Navi+ will automatically check the current language.
If the default is English, it shows Home.
If French is selected, it shows Maison.
If Vietnamese is selected, it shows Trang chủ.
This works for both description and link-to fields.
2) Create a language switcher menu in Navi+
Navi+ supports a special syntax that lets you switch languages directly from your menu items.
Step 1: (Optional) Add flag icons if you want. You can download flag icons from websites like Flaticon (For example: https://www.flaticon.com/authors/flags/rectangular?author_id=1&type=standard).
Step 2: Use the following syntax to switch languages:
open:ChangeLanguage(fr)

Last updated