liam_putra
(William anputra)
1
What is the best practice to localize your app regardless of what the browser’s language are
I understand that we can add language on weweb editor’s settings but this feature works depending on the user’s browser language.
what if the user wants to have english language browser but select the page language to chinese ?
my first instinct is to
- create a variable called “selected language”
- on each of every text widget add an if condition

but this if condiiton only takes 1 condition , what if i have 5 languages ?
Broberto
(Rob)
2
Why not just bind it to the other language?
You actually can add languages, in the switcher.
then the option to differentiate between languages will appear.

liam_putra
(William anputra)
3
Your method works depends on the page browser default right ?
What we want is to have a selector on the page where users can choose which language they want
liam_putra
(William anputra)
5
noted… i didnt know there is a language switch widget.
thank you!
1 Like