15 Sep 2012
18 May 2007
Link to this post
>>Does that mean that each language should have completely impendent structure (sitemap) as if they ware different sites or each page should have corresponding page in each language?
The latter for sure! The sitemaps will likely be over 90% the same, but certain pages might no apply to all languages, so you need to be able to not have them apply.
>>What should be the behavior when the language is changed while browsing?
If the page exists in the newly selected language, just go to the new language's version, otherwise either go up the tree to the first parent with the new language (preferred) or go to the homepage. This could (eventually) be an option in the web.config
Does that make sense? I'll reiterate the whole process, as I see it should work:
- You create a new page and select which languages that pages should be available for (so some pages might only be in En, others only in De and the rest in both)
- When editing the page, you first select the language you want to edit for (say English) and you then have a blank slate. You select the English template, name, meta tags, url (not as important), etc, and then add any content to the page. You then switch languages and have a blank slate. Maybe there's a Copy From option where you can import the English version of things and make changes (next version?), or maybe you just start from scratch and create the (let's say German) page, including selecting a German template and making all the content what you want (not tied to the English version, if you don't want).
- When someone is on the German version, all the menus show the pages available for German, and when in English, the sitemap changes slightly based on which pages are in the English sitemap. If someone changes languages, well, see my suggestion earlier in this post.
Hope that all seems logical and like a good solution. I understand that the backend implementation might be tough, but I'm pretty sure that's how it worked in 2.7 (though I never fully used it) and it seems (to me, at least) like the best way of doing it. Hopefully you will be able to implement this for me!
Thanks so much