I have a requirement to include Colombia, Peru and Mexico as part of the language switcher. Thing is these 3 countries all speak Spanish so is there a way to cater for this to include them in the language switcher? technically these three languages would have to point to the same spanish sub-domain


1 Answer 1


I think you can use the hook_language_switch_links_alter() to modify the output of the language switcher. I would try to create the needed entries there to maintain the functionality to switch languages properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.