Loading proofofbrain-blog...

Language Negotiation for ProofofBrian.blog

charles_deluvio_poua8xay514_unsplash_confused_dog_with_cat_language.jpg
Photo derived in part from a photo by Charles Deluvio@UnSplash. see original at https://unsplash.com/photos/pOUA8Xay514 . Used under Unsplash license

We live in a multilingual world. With Proof of Brain (.BLOG) you can set your language and then use the site in this other language. Once you set this, you never need to set it again (unless you logout or use a different browser). This is good.

Now only a brand new user will have to set his language but it is an even better experience for a brand new user to open the site and display all of the buttons in the language of the user without needing to do that. This is what the site now does. So the dogs logging opening the site wont see the site in cat language.

How it works?

Your browser sends a list of languages to the server (running on the internet). The server adapts that list for the script that runs in the browser and then the script in the browser checks to see whether you set the language before in the local storage. If local storage is set, it uses that. If not, it will pick the best language from the list and use that to render the site.

Why not use Geo location?

People tend to use their own computers. When a user has never set language settings it makes sense that they should get the language as set in the computer. Most computers are set to the language for the region the computers are sold in so the difference is those who want to use a computer in a language which is not what is normally used in the geographic location they are in.

Try it out?

If you want to try it out, open the site in a new browser or a new device or logout of proofofbrain.blog. You can set the language in your browser to other languages to see how the browser displays in a different language according to your list.

@leprechaun
theleprechaun2021@steemfiles.com

H2
H3
H4
3 columns
2 columns
1 column
13 Comments