improve country/region detection

put the list of automatically detected languages first in the list,
in their order of preference