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

nedjo’s picture

Status: Active » Needs review

Introduced a setting, 'country_code_external', and a corresponding test, _country_code_is_external(). Looks like it shd work but I haven't tested.

catch’s picture

Status: Needs review » Postponed (maintainer needs more info)

Since the patch is already in, marking as active (needs more info) for the testing.