Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Serve Different Languages Based On Domain Rate Topic   - - - - -


Posted 12 March 2018 - 01:53 PM #1

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.




version: 4.6.1 CS-Cart (not Ultimate)






  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21065 posts

Posted 12 March 2018 - 02:14 PM #2

For example, you can use two store-fronts and Regions feature




Customers will be redirected to corresponding store-front depending on the IP address


Additional code customization is not required in this case

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

  • ThomH
  • Senior Member
  • Members
  • Join Date: 20-Nov 07
  • 1595 posts

Posted 13 March 2018 - 09:15 AM #3

This add-on may help you:

GeoIP Languages

WebGraphiq offers a wide range of professionally developed, ready to use CS-Cart add-ons to provide additional functionality and boost your sales. The oldest active CS-Cart add-on development team. -- Since 2006 --