helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
807 stars 58 forks source link

localize: Use WLAN regdomain to guesstimate country, language, and keyboard #425

Open probonopd opened 1 year ago

probonopd commented 1 year ago

Can we use this to get the country? How does this work? Is it using info from the wireless router? How reliable is it?

% ifconfig | grep regdomain | xargs | cut -d " " -f 4
DE
louies0623 commented 1 year ago

This can be inconvenient for non-native speakers, such as business trip and immigrants, or there are many languages ​​in the local area, for example, Switzerland, Belgium, Canada, Singapore, Malaysia, etc. Is it using info from the wireless router? it's not reliable.

louies0623 commented 1 year ago

Switzerland image

Israel image

Singapore image

Malaysia image image

louies0623 commented 1 year ago

But you can use this method to correspond to the time zone of the computer.