There were 2 issues with multilingual window titles:
- static pages
- static posts page
where titles were aggregated in all available labguages.
In class-frontend.php, I did one change and one addition as follows, starting line 322:
} else if ( $this->is_home_posts_page() ) {
$title = $this->get_title_from_options( 'title-home' );
// Changes start here
// Changed to tackle multilingual issue on posts page
} else if ( $this->is_posts_page() ) {
global $q_config;
$title = qtrans_use($q_config['language'], $this->get_content_title( get_post( get_option( 'page_for_posts' ) ) ), true);
// Added to tackle multilingual issue on pages
} else if ( is_page() ) {
global $q_config;
$title = qtrans_use($q_config['language'], $this->get_content_title(), true);
// end changes
} else if ( is_singular() ) {
$title = $this->get_content_title();
Window titles are now displayed correctly on all pages: static home page, static posts page, posts and pages.