Ukraine icon indicating copy to clipboard operation
Ukraine copied to clipboard

Do not restrict Russian-speaking people from Ukraine

Open hejny opened this issue 3 years ago • 1 comments

I just do not know how to achieve this?

  • By secondary geolocation or detection of UK in navigator.languages
  • By asking for users' GPS if the language is Russian?
  • Can I somehow be privacy-respecting (not asking external service) + without backend detecting users' IP from the frontend.

hejny avatar Feb 27 '22 23:02 hejny

Just found this: https://www.npmjs.com/package/js-user-country Maybe you could get the user's timezone as well and compare it to the language?

JackChilds avatar Mar 20 '22 16:03 JackChilds