The markup generated from Language Selector widget changed the domain name to localhost
This knowledge article provides information on troubleshooting the issue where the language selector widget changes the domain name to localhost in the production environment.