Multiple Language Website – How?

Hello all,

I’m assembling a website within (I think) related to 7 languages. So I presume I build one website after which it make 7 copies of it as well as translate the text following that…. Would that end up being right Seems a tad long winded so I thought right now there might be a healthier way – can any individual offer any suggestions Or am I spot on throughout my assumption

Thanks heaps ahead!

: ichatnervous:

It really will depend on your website.
When you’ve got a site which displays dynamic content (such to be a blog, articles, etc),
content is already stored in any database. That content is stored in various
directories as their own language. Cookies how the user has picked out will determine
which in turn language to show… the scripts draw that content through the appropriate

I would go for a " template" type site the place that the base look is fixed, plus the
subject material is pulled via various directories. Users select their language choice and that
decision is saved being a cookie so they see a similar language when they come back later.

It’s all about using PHP in order to " include" text files through the correct directory.
Translation then happens with uploading many text files, not websites.

As mlseim claims, you should definitely either utilize a database or comprises of to load content material, in order to lessen your development attempt.

You should utilize cookies and/or program cookies to save the language the person selects and insert the content from there.

Thanks for the reply guys…

Are PHP includes google search friendly

Can anyone point me in the direction of a tutorial on how you can use cookies


PHP includes are indeed search-engine welcoming, as they’re preprocessed about the server before that page is sent to the client (browser / spider).

Here’s some info on how you can use cookies throughout PHP

http: //us2. php. net/manual/en/function. setcookie. php

It’s also possible to use the $_SESSION thing to store program cookies:

http: //us2. php. net/manual/en/session. items. basic. php
http: //us2. php. net/manual/en/book. time. php.

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *