Bilingual Drupal website:

gkatsanos - October 12, 2009 - 08:35

Hello everyone.

I am currently in the process of setting up a website, and my specs are:

    A "domain.com" website which will present a map with the 2 choices : France and Canada website.
    A "domain.fr" which will show the French website.
    A "domain.ca" which will show the Canadian website. (BUT WITH AN OPTION FOR ENGLISH TRANSLATION)
    One Drupal installation - of course.

So far, so good, but here is the catch:

The Canadian and French websites, have common content, and content specific for each website. (for example different clients etc etc)

Initially, I thought: Ok, I install the French translations, do the international thing, have neutral, translated, french-only and english-only content, and according to the domain name visited I give the right language.

Sadly, it doesn't work that way.

A user visiting the Canadian "domain.ca" website, who will want to see his content in French, will get the FRENCH website (".domain.fr"), this meaning different clients etc etc.

I Bet there is a workaround for my problem here. I'm missing something!

Here is a SCHEMA I made so that you can easily understand:
http://img93.imageshack.us/img93/517/multilingual.jpg

btw: I am testing all this locally, do you know how can I add domain extensions locally to a folder so I can test all this?

Domain Access

Richard Eriksson - November 3, 2009 - 19:07

Take a look at the Domain Access module which has the feature of shared and specific content separated by domains. Also take a look at http://drupal.org/node/266071 for work integrating it with Internationalization.

Domain Access + Domain Locale

nonsie - November 11, 2009 - 23:09

Domain Access + Domain Locale should do the trick.

-------------------------------------------------
the original net baby

Thank you for your replies. I

gkatsanos - December 2, 2009 - 15:12

Thank you for your replies. I finally was able do achieve the desired result by using Drupal Core's abilities, adding 3-4 subdomains that are used just for the different languages, and this way I have all the different languages I want :)

btw: I am testing all this

rovr138 - December 3, 2009 - 13:38

btw: I am testing all this locally, do you know how can I add domain extensions locally to a folder so I can test all this?

You can edit your hosts file and add there the domains and point them to 127.0.0.1

127.0.0.1 testsite.fr
127.0.0.1 testsite.com
127.0.0.1 testsite.ca

In Windows, I believe, it's under C:\Windows\System 32\drivers\etc\hosts
On Linux /etc/hosts

I have no idea about Mac

 
 

Drupal is a registered trademark of Dries Buytaert.