[TYPO3-english] Multi-language / country related question

David Vandemaele david at d2d.be
Mon Nov 3 13:13:28 CET 2008

David Vandemaele wrote:
> Hello,
> I have a customer who wants an international site in +20 languages.
> He also wants to have the possibility to use subdomains (for example: 
> poland.example.com, belgium.example.com). These subdomains will contain 
> 65% of the content of international site, but then translated, and 35% 
> that can be different from country to country (or in this case, from 
> subdomain to subdomain). In the future, those 35% can increase. If 
> content on the international sites changes, those changes need to be 
> reflected on the subdomains as well.
> Example:
> ---------------------------------------------------------------------------
> [International site www.example.com, translated in +20 languages]
> - Index
> - Item1 (subpages 1.1, 1.2, 1.3)
> - Item2 (subpages 2.1, 2.2)
> - Item3
> [Belgium belgium.example.com, referenced content is the same as the 
> translated content on the international site]
> - Index (Reference to page content of 'Index' on international site, but 
> translated)
> - Item1 (Page content should be a copy/reference of the page content of 
> Item1 on the international site)
> - Item2 (Only the content of subpage 2.2 is referenced, the other page 
> has different content)
> - Item3 (Reference/copy of the content of Item3 on the international site)
> [And so on for +30 countries]...
> It looks like I need an overlay mechanism for a subdomain so it could 
> contain shared content (references to the international site) and own 
> national content.
> Can anybody point me to the right direction?
> I think I'll need a tree for each subdomain and a tree for the 
> international site. But how can I avoid manually creating a reference 
> for each common content element?
> Maybe there are other solutions for this kind of problem?
> Best regards,
> David V.

Just an idea I was toying with: I write a script that copy the page tree 
of the international site (pages, content) for each subdomain. And also 
copy the content of the content table, but instead of saving those 
items, make it a reference instead. Afterwards, I only need to traverse 
each page tree of the subdomain, and remove the pages that are not 
necessary for that subdomain.
What do you think about this?

Best regards,
David V.

More information about the TYPO3-english mailing list