Some Context:
We currently have 5 versions of our site (US, UK, CA, AU, SG) with TLDs for each. We have just decided to expand this to 10-12 sites that will representing 4 or 5 languages (our current sites are only in English).
We will use the TLD for each country (i.e. www.domain.fr) as well as our “.com” with country and language in the path (i.e. www.domain.com/fr/fr) all pointing to the same site/files and hopefully even using the same CSS file(s).
I think we have resolved how to serve up different text content based on the users locale (zend_translate or, possibly, GetText). However, some of the locations will also need to host unique images or other location-specific content within the established structure (Say, hypothetically, that there are 3 blocks/divs in which we place different “ads” based on users location).
Question:
Is there a PHP/MySQL specific “best way” to serve up some unique content based on user’s location -- all within a single shared site structure? (Please note this is not about translation, but about location specific content)
Example:
A really great example of what we would like to achieve is ikea.com, ikea.pl, ikea.com/pl/pl