Page 1 of 1

Multilanguage support - Smart multiple language support

Posted: Mon May 16, 2005 1:19 pm
by intersol
Many people consider multilanguage support for a CMS as the translation of the CMS.
In this case we want to add the support for *fast* building of multiple language sites.

This is how i see it:
- at instalation the must select the base language
- using admin interface the user will be able to add page translation - a page translation
- the CMS will show the apropiate page regarding the following rules:
1 if there is a cookie with lang preference it will be used
2 user agent language (browser preference)
3 default language

- all pages will have the same url but will show correct language based on above algoritm
- we should add a static structure like /en/content/ for search engines. in fact we are interested in indexing all versions of pages
- header of the cms pages should be changed regarding the page language
- we'll use UTF-8 only becase this will simply development and adminnistration

I'm waiting for the remarks of above model

Re: Multilanguage support - Smart multiple language support

Posted: Thu Jul 07, 2005 5:05 pm
by alby
intersol wrote: Many people consider multilanguage support for a CMS as the translation of the CMS.
In this case we want to add the support for *fast* building of multiple language sites.

This is how i see it:
- at instalation the must select the base language
And select languages of site (for example: default language: en_US and other language: de_DE and it_IT only)
- using admin interface the user will be able to add page translation - a page translation
- the CMS will show the apropiate page regarding the following rules:
1 if there is a cookie with lang preference it will be used
2 user agent language (browser preference)
3 default language
3 if browser language not match languages of site
- all pages will have the same url but will show correct language based on above algoritm
- we should add a static structure like /en/content/ for search engines. in fact we are interested in indexing all versions of pages
- header of the cms pages should be changed regarding the page language
- we'll use UTF-8 only becase this will simply development and adminnistration
I add, in .10,
'locale' variable in smarty (content.functions.php):
$this->assign('locale',$config["locale"]);
$this->compile_id = $config["locale"];
$this->cache_id = $config["locale"];
because i have a plugin with language output

Alby