Now switches the i18n locale based on the page locale