9
Multilingual WordPress Problems and Solutions

Multilingual WordPress - Problems And Solutions

Embed Size (px)

DESCRIPTION

WordPress Multilingual plugins, problems, and solutions.

Citation preview

Page 1: Multilingual WordPress - Problems And Solutions

Multilingual WordPress

Problems and Solutions

Page 2: Multilingual WordPress - Problems And Solutions

Translation Tools

• WMPL - Plug In

• qTranslate - Plug In

• WP Network - WP Core Setup

Page 3: Multilingual WordPress - Problems And Solutions

WPML• wp_posts holds ONE row for each translation

• Problems

• Additional JOINS, that degrades performance.

• Number of SQL Queries increases 3 times in average.

• Without WPML: 217 - With WPML: 745

• Without WPML: 34 - With WPML: 111

Page 4: Multilingual WordPress - Problems And Solutions

qTranslate• post translations in the SAME DB RAW

• Problems

• HUGE performance degradation

• Search in one language, practically impossible

• Number of articles in particular language - ?

• UGLY DB / fragile

Page 5: Multilingual WordPress - Problems And Solutions

WP Network

• Wordpress Network set-up

• Each translation is one WP site on network.

• Problems

• Media library is not common for all languages

• async translation model

Page 6: Multilingual WordPress - Problems And Solutions

The Solution

• WP Network with Custom Meta Boxes

• Assumptions:

• One primary language

• Featured image, photo gallery, YouTube video in primary language.

Page 7: Multilingual WordPress - Problems And Solutions

The Solution

Page 8: Multilingual WordPress - Problems And Solutions

Ideas…

• Change wp_posts table structure: add a translation field

• …?