Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Multi-lingual sites with WordPress
Search
Rich Holman
March 02, 2012
Programming
2
170
Multi-lingual sites with WordPress
An introduction to building Multi-lingual sites with WordPress
Rich Holman
March 02, 2012
Tweet
Share
Other Decks in Programming
See All in Programming
“技術カンファレンスで何か変わる?” ──RubyKaigi後の自分とチームを振り返る
ssagara00
0
130
エンジニアが挑む、限界までの越境
nealle
1
340
監視 やばい
syossan27
12
10k
note の Elasticsearch 更新系を支える技術
tchov
9
3.6k
大LLM時代にこの先生きのこるには-ITエンジニア編
fumiyakume
8
3.4k
インプロセスQAにおいて大事にしていること / In-process QA Meetup
medley
0
170
AIコーディングエージェントを 「使いこなす」ための実践知と現在地 in ログラス / How to Use AI Coding Agent in Loglass
rkaga
4
1.4k
一緒に働きたくなるプログラマの思想 #QiitaConference
mu_zaru
82
21k
複雑なフォームの jotai 設計 / Designing jotai(state) for Complex Forms #layerx_frontend
izumin5210
6
1.6k
Boast Code Party / RubyKaigi 2025 After Event
lemonade_37
0
110
REALITY コマンド作成チュートリアル
nishiuriraku
0
120
2025年のz-index設計を考える
tak_dcxi
12
4.8k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
850
Being A Developer After 40
akosma
91
590k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Six Lessons from altMBA
skipperchong
28
3.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.4k
Automating Front-end Workflow
addyosmani
1370
200k
Navigating Team Friction
lara
185
15k
How to Ace a Technical Interview
jacobian
276
23k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.7k
Producing Creativity
orderedlist
PRO
344
40k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.3k
Transcript
An introduction to building Multi-lingual sites with WordPress
Introduction à la création d'un site multi-langues avec WordPress
Introducción a la creación de un sitio múlti idiomas con
WordPress
About myself
None
Wordpress codex http://codex.wordpress.org/ WordPress_in_Your_Language
Discovery Understanding the need
Discovery - the need * Editorial - localisation * Translation
- internationalisation * Informs solution e.g. multi-site or single site
Discovery - user journeys * Site level * Post level
Design Designing for multi-lingual sites
Design - layout Allow enough space
None
None
Design - layout Designing blind
Design - layout RTL - flip the design
None
The Build Architecting a solution
Language context * ?lang=es * /es/ * es. * body
class=es
HTML Language codes <html lang="en"> <html lang="es"> <html lang="fr"> http://www.w3schools.com/tags/
ref_language_codes.asp
Text Direction HTML <p dir="rtl">!"ود%&ا ه)* ل,-</p> CSS p {direction:rtl;}
Character encoding Unicode & ISO 10646 <meta charset="UTF-8"> Should about
cover everything
Language files - Admin /wp-content/languages/ http://codex.wordpress.org/ WordPress_in_Your_Language
None
Language files - Admin * wp-config.php: single site define('WPLANG', 'pt_BR');
multi site define('WPLANG', ''); then set in admin
None
Declare theme text domain <?php load_theme_textdomain('my_theme', get_template_directory() . '/ languages');
?>
Abstract terms in theme <?php _e('Hello World', my_theme'); ?> .
__( 'Hello World', 'my_theme' ) . http://codex.wordpress.org/ Translating_WordPress
Language files - Theme * Poedit - .po > .mo
None
None
None
Customisation * Taxonomies/Tags - arghhhh * Queries - there be
dragons * Widgets * Plugins * Feeds - flickr, facebook etc * RSS - http://codex.wordpress.org/ Customizing_Feeds
Plugins * WPML * xili-language * qTranslate * Polylang *
Google AJAX Translation * Multisite Language Switcher http://codex.wordpress.org/ Multilingual_WordPress
Polylang List view WPML qTranslate
qTranslate qTranslate xili Polylang Post view WPML
WPML WPML xili qTranslate Polylang Categories
Don’t switch between them ;) qTranslate > Polylang
Translation services * ICANLOCALIZE * Community of translators * $0.07
per word
None
Translation APIs * Google Translate - Pay per request $20
per 1 M characters Limit 2M chars/day. * Bing Translator - Free
To sum up...
Thankyou twitter: @dogwonder