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
Multilanguage support - Smart multiple language support
Re: Multilanguage support - Smart multiple language support
And select languages of site (for example: default language: en_US and other language: de_DE and it_IT only)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
3 if browser language not match languages of site- 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
I add, in .10,- 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
'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