Language Bug In Proof of Brain Fix?

Words
194
Reading
1 min
Listen
Play
5y

Things Were being Displayed in the Wrong Language

Several months ago, I added the ability for ProofofBrain.Blog to look at the headers to determine which language you would prefer. Headers by the way are sent automatically by the browser and should be used to determine your language.

Some time after, I started noticing some elements of ProofofBrain.blog being displayed in what I now think is Ukrainian. And until now, I had not had an explanation on why.

Proof of Brain has server side rendering. If you're interested in a more technical explanation, there is one here

The Race

The driving code allowed one request to pollute another. So now I will make the software copy the headers object in order to prevent this language leakage between users.

jonathan_chng_hgokvtkpyha_unsplash.jpg

Photo by Jonathan Chng on Unsplash

Help Me

sincerely_media_etybbubypsq_unsplash.jpg

Photo by Sincerely Media on Unsplash

I would like you guys to let me know, either on Discord or as a reply here whether these changes are effective. If the interface is partly in one language but partly in the other please make a screenshot (remove private information that may be there) and get it to me some how.