Forum for discussing general topics related to Couch.
15 posts Page 1 of 2
I like to create a Multilingual sites with different language folder, for exmaple:

http://www.abcd.com/en/index.php
http://www.abcd.com/cn/index.php
http://www.abcd.com/en/about.php
http://www.abcd.com/cn/about.php
.
.
.
and etc....

Is anyone has any idea on creating this kind of Multilingual sites' structure? Is really help on SEO issues... and I am afraid that google won't index second language content in search result...

Let say my primary language is english, I know google will definitely index this language's content, but how about my second language content? will it also display in google search result?

Cause I noticed this website also use couch cms to create multilingual site: http://robert-langbein.com/. Apparently, google is not indexing second or third language.
Hi,

If you don't change the meta tags and the name of the file google would assume this is a duplicate of the original one (not a good SEO practice).

You should try to change the name of the second language file :

about.php
<title>about us</title>
<meta name=”description” content=”About us blabla”>

cn/cnabout.php
<title>about us in Chinese </title>
<meta name=”description” content=”About us blabla in Chinese”>

This way you should be fine
I load frameworks and write bugs on top of them, after that I rearrange the code so that it looks like a cool product.
@nsy, using a separate folder for each language would have no SEO problems at all because the URL would be distinct for each language -
http://www.abcd.com/en/about.php
http://www.abcd.com/cn/about.php

The site that you mentioned is using the same URL for all languages and hence Google is not indexing the other languages.

The thread on multi-lingual sites describes using separate folders as the very first method -
viewtopic.php?f=8&t=74

Hope it helps.
Thank you, guys. I am currently using method 3, viewtopic.php?f=8&t=74.

The problem is I really like to separate them into folder view, so Google will index both languages, If I do so, I have duplicate all the content includes photo gallery.

My current photo gallery have same photo, same ID code for each language, which means user only needs to upload once. but If I use separate folder, user have to upload twice. How can I make it display the content from primary language (http://www.abcd.com/en/photo-gallery.html) but kept the second language link (http://www.abcd.com/cn/photo-gallery.html)?

I'm sorry, I have no much experience with multi languages website, I am probably asking stupid question here....
or is it possible to clone all primary language content to other languages?

For example, we preset the languages that we want, english and chinese. Now, we create a english version of template (en/about.php), the system will auto generate the chinese version's template at the back end admin panel (cn/about.php), so user can just directly edit the second language content in auto generate template.

Same things happen to photo galley section, when photo gallery is created in english version, it will auto generate/duplicate the same content in second language photo gallery, all user have to do is change page title in different language. But please take note, it should only display the same content, not duplicate all the same images to the database again.

But for the current solution, the method 1 is good, it just I have no idea on how to relate photo gallery between languages. And for the snippet like 'lang_links_news.html', what if I have 10 or more templates like profile, products, contact and etc, should I create 'lang_links_profile.html', 'lang_links_products.html', 'lang_links_contact.html' and etc?

OR...

I can still stick with method 3, but I want to create 2 folders, english and chinese. How can I make it only display english in english version, chinese in chinese version? If I do this on current method 3, it will create duplicate template and photo gallery, I have upload all the photos twice.... is it possible to make google index all languages?

For all the methods, I think the most trouble problem is photo gallery...
@nsy, did you have a chance to use cms:get_custom_field ?
If you can have 1 photo template, you can fetch images from it and display on any number of templates. let users change title in language-templates and upload photos only once in gallery.

OR

You may want to create a relation between clonable page and photo gallery. User would pick a photo from that gallery (checkbox) or use a dropdown (if number of pics is not big).

Google is interested in texts, afaik. Same pictures is fine.
@trendoman, thanks for your suggestion. I need to upload a lot of photos in gallery section, I mean like more than 500 items.

I need to make it in gallery view, so the gallery section is more easy to manage and navigate.

I wanted to use custom field or relation, but I just can't seem make it work. but how can I prevent user from uploading the same content twice?

I will keep trying....
You give user only one gallery, @nsy. Create a gallery.php template (or whatever name you choose) and show uploaded picture in a couple of other templates.
@trendoman, thanks for your suggestion. But do you mind to make a more details explanation on embed this gallery.php?

@KK Or can I make any relation between folders? Let say if my primary language is english, secondary chinese.

I will create same categories in both folder, like "dining table", "dining chair" and etc. Both languages now have same folders with same names, I will upload all the dining table images in english version, "en/dining-table". I got a same category in chinese version "cn/dining-table", is there any way I can choose (maybe a dropdown box) a option to display the same items in "en/dining-table"?

As you can see, all the titles will switch to different languages if user choose any language. I not just wanted it to be display all photos, but with the switch language as well....

I have no problem with couchcms' Multilingual, method 1. Indeed I think is a great solution for SEO -friendly links, but I just stuck with the photo gallery section...

For the method 3, my client have problem with the issues of "Google can't search secondary language content"...my headaches....Oouch...
@nsy, using method 3 is not going anywhere, because the url stays the same all the time. The solution to this is overkill and looks very unnecessary - using routes and constructing diferent urls out of the same template. This is thoroughly described here http://www.couchcms.com/docs/custom-routes/
This way your url structure can represent languages mimicking folder view.

Consider this also: if you use 1 template, create 2 folders, then you can't relate pages in one template. No relations here, dude. Only between 2 different templates.

Also I'm trying to IMAGINE what type of content and presentation you have. This is something we should not be doing here to give better support. You may want to post your code here, so we see how you define images, and more importantly, how your design demands fetching and showing them. Thanks.
15 posts Page 1 of 2