Code: Select all
$phpwcms['default_lang'] = 'ABC'; //default language
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ABC" lang="ABC">
The visitor and any --> search engine will get --> DEFAULT ==> 'ABC'
--> for EVERY PAGE in --> each tree - EVEN for those pages which content ACTUAL was written for example in ES, IT, SE, DK, UK. FR, EN...
hmm, I think this is very unsatisfying, disappointing.
[But did you know that ]
You'll succeed by --> CUSTOM templates that will override --> CONF
Just ADD [this conf-var! ]:
toCode: Select all
$phpwcms['DOCTYPE_LANG'] = "whatever_lang";
[a custom template for me THIS was new because THERE never was DOCTYPE_LANG in]
/template/inc_settings/template_default/MYcustom_settings.php
[ http://code.google.com/p/phpwcms/issues/detail?id=147 ]
or frontend_init something
PS: i like en es se NL fr it jes most ...