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 ?