O, I missed a hot discussion triggered by Gert's subsites-solution.
But to come back to the question of localized templates. No need for fiddeling around with the configuration or even changing the core files. IMHO the "template.htm" itself is the best place for conditional layouts. Here you can just include whatever you need, different template blocks or completely different templates. E.g. you could just create your localized templates and come up with this folder structure:
Your real templates are in the "sl_template.htm"-files. In this simple case, your "template.htm" just needs one single line:
Code: Select all
<?php include $sl . '_template.htm'; ?>
But of course you could also keep your basic template in the "template.htm" and just include those sections that need localization. (This approach, using the "template.htm" as a switch, is very flexible: You can offer different templates - 2 or three columns - for pages with / without subnavigation, for the start page, top-level-pages, in the daytime / in the night etc. )