We'd like to serve different content (not everything - just certain language pieces) based on domain name.
For example; we have ourbusiness.com and ourbusiness.it. Both domains resolve to the same document root on the server - i.e. serve exactly the same content.
We'd like to server our Italian translations for the .it domain and our English ones for the .com domain.
Essentially I want to change the language used for the translations in code dynamically based on using PHP to see what domain were are on.
Can anyone point me in the right direction?
I don't mind, ultimately, using an Add-on but it will still be useful to understand how I could do this manually.
Thanks
version: 4.6.1 CS-Cart (not Ultimate)