My theory:
I will try this out on the next site that I make and give the results unless some one has better solutions. I really would like to know the golden way to make a language website?
Once you have the site made in one language and you are fairly happy with it especially the layout. Then if you live in Blegium as example copy your cmsms directory to the number of languages required.
cmsms_en/
cmsms_fr/
cmsms_nl/
Copy the database tables to a a new prefix. Changing the cms_ prefix on tables for each additional language like so:
cms_en_
cms_fr_
cms_nl_
Changing the config file for each copy and check you permissions and such especially on those smarty directories.
Then make a set of links on the site:
Code: Select all
<a href = "../cmsms_en/?p={php}echo $_GET['p];{/php}">en</a> |
<a href = "../cmsms_fr/?p={php}echo $_GET['p];{/php}">fr</a> |
<a href = "../cmsms_nl/?p={php}echo $_GET['p];{/php}">nl</a> |
Make sure not to change the alias name for the pages. If you create a page in one language be sure to copy it to all the others.