Alright, found out where it went wrong:
In the file: /frontend/choose-lang.php
if ($this->options['redirect_lang'] && is_tax('language') && $this->page_on_front && <strong>(count($query->query) == 1</strong> || (is_paged() && count($query->query) == 2))) {
The $query->query
contains the following entries:
array(2) {
["page_id"]=>
string(3) "en/"
["lang"]=>
string(2) "en"
}
So count($query->query)
will return 2.
If I change it to: (count($query->query) == 2
, the English frontpage shows just fine.
So my questions is: Why ensure count($query->query)
equals 1 ?
Regards,
Mark