ISO
ISO copied to clipboard
localize: Use WLAN regdomain to guesstimate country, language, and keyboard
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
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.
Switzerland

Israel

Singapore

Malaysia

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