Hey guys.
I'm falling into trouble a bit with 2 domain setup. The idea is:
- If anybody goes to example.com -> site (actually starting lang. or at least front page) should be in English
- if anybody goes to example.hu -> site (actually starting lang. or at least front page) should be in Hungarian
Both domains share codbase/database. .hu is an alias to .com and English is primary language.
Setting default language via settings.php for *this* domain won't work as then it will eat the language path prefix.
At DrupalCamp Vienna I briefly bounced the ideas with Gabor (aka i18n maintainer) and the solution was about modifying htaccess some way. But I'm a bit dumb with htaccess ot regular expressions.
Any help please?
Comments
Shall I provide any more
Shall I provide any more information maybe?
If you use i18n all you have
If you use i18n all you have to do is add the domain name for respective language at admin/settings/language/ don't forget http:// and e.g. use i18n
i18n Multilingual Variables http://drupal.org/node/313272
same challenge
http://drupal.org/node/717768