Currently, a prefix will be used to set the country. This is used, e.g., in the country switcher block.
However, if a user is coming from offsite, e.g., following a link, s/he should get the IP-based country.
Currently, a prefix will be used to set the country. This is used, e.g., in the country switcher block.
However, if a user is coming from offsite, e.g., following a link, s/he should get the IP-based country.
Comments
Comment #1
nedjoIntroduced a setting, 'country_code_external', and a corresponding test, _country_code_is_external(). Looks like it shd work but I haven't tested.
Comment #2
catchSince the patch is already in, marking as active (needs more info) for the testing.