ISO icon indicating copy to clipboard operation
ISO copied to clipboard

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

Open probonopd opened this issue 3 years ago • 3 comments

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

probonopd avatar Dec 18 '22 23:12 probonopd

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 avatar Dec 21 '22 13:12 louies0623

Switzerland image

Israel image

Singapore image

Malaysia image image

louies0623 avatar Dec 21 '22 13:12 louies0623

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

louies0623 avatar Dec 22 '22 08:12 louies0623