<![CDATA[ Avoiding duplicate pages in muti-language site - My Forums]]> https://forums.modx.com/thread/?thread=50942 <![CDATA[Re: Avoiding duplicate pages in muti-language site]]> https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-548481 http://livecustomwriting.com/blog/to-be-a-witch-the-crucible-essay We guarantee high quality and to get everything ready. It doesn't matter what topic you have, we can cope with any task. Our team is the best and our services are the cheapest. We will be happy to see You among our happy customers.]]> alexdrepager Feb 02, 2017, 12:54 PM https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-548481 <![CDATA[Re: Avoiding diplicate pages in muti-language site]]> https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298561 ]]> dev_cw Sep 25, 2007, 12:24 PM https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298561 <![CDATA[Re: Avoiding diplicate pages in muti-language site]]> https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298560 when I finish this project I will share how I did this.]]> Dimmy Sep 25, 2007, 09:48 AM https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298560 <![CDATA[Re: Avoiding diplicate pages in muti-language site]]> https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298559 the only problem is the naming of the menu’s those need to be in the right language aswelExactly. Also a javascript solution will not work without JS, in tat case only one language will be available.

Most solutions that I have seen don’t resolve the duplicate page issue which is fine for most content.

In my case it is for a university site with professor profiles. All the info is the same in both languages except the bio, and the page template. The solution would be to have a dynamic template selection based on a variable that would select the template based on the location. Since the page that calls the bio pages is based on a ditto call I can edit the tpl and add the appropriate language variable to the link url (...[~id~]?templateLanguage=de). Then on the bio page include a snippet that will read the templateLanguage variable and load the appropriate chunk. Humm, this might just work. I will need to build a static navigation to replicate the location of the document.

Wait a minute, will this work with SURL? I only need to resolve this in the next few week so I will just keep thinking about it for now.]]>
dev_cw Sep 25, 2007, 08:02 AM https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298559
<![CDATA[Re: Avoiding diplicate pages in muti-language site]]> https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298558 Quote from: dospuntocero at Sep 23, 2007, 02:04 AM

you could create a [*TVadditionalLang*] in the doc for the other language and with javascript show the doc’s [+content+] the [*TVadditionalLang*] in the content div of your site



the only problem is the naming of the menu’s those need to be in the right language aswel]]>
Dimmy Sep 25, 2007, 04:15 AM https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298558
<![CDATA[Re: Avoiding diplicate pages in muti-language site]]> https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298557
]]>
dospuntocero Sep 22, 2007, 09:04 PM https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298557
<![CDATA[Re: Avoiding diplicate pages in muti-language site]]> https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298556 http://wiki.modxcms.com/index.php/Make_Multi_Lingual_Site dont miss recources links too.]]> motsmart Sep 22, 2007, 06:14 PM https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298556 <![CDATA[Avoiding duplicate pages in muti-language site]]> https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298555
1) Is there a way to post the same page in two languages?
2) is there a way to have a template for each language on the same page/document?

I could use the getfield snippet but this needs to be easy to administrate as well as duplicate. I don’t want to leave too much thinking for the client to deal with.

I was able to work out some duplicate content issues by using ditto and custom tpl for each language. This worked fine with simple content but will not work with this more complex page structure.]]>
dev_cw Sep 21, 2007, 01:18 PM https://forums.modx.com/thread/50942/avoiding-duplicate-pages-in-muti-language-site#dis-post-298555