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
Translating WordPress (German)
Search
Caspar Hübinger
June 15, 2014
Programming
1
300
Translating WordPress (German)
Small set of opening slides for a workshop at WordCamp Hamburg 2014 (#wchh14).
Caspar Hübinger
June 15, 2014
Tweet
Share
More Decks by Caspar Hübinger
See All by Caspar Hübinger
Mensch sein in Zeiten digitaler Entmenschlichung
glueckpress
0
110
Text me if you can! – How to build a website when your client’s business is to run a business, not a website
glueckpress
0
390
WordPress and AMP
glueckpress
1
76
Fast websites, and how to make them
glueckpress
0
900
Debugging Expectations
glueckpress
1
420
Themes – Basics für Anwender_innen
glueckpress
0
210
Widgets — Minions Of WordPress
glueckpress
0
240
WordPress, on fait speak my language, va bene?
glueckpress
0
1.1k
The Multilingual Blogging Software Dilemma (and ways to solve it)
glueckpress
0
3.4k
Other Decks in Programming
See All in Programming
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
140
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
160
マンガアプリViewerの大画面対応を考える
kk__777
0
440
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.9k
Making Angular Apps Smarter with Generative AI: Local and Offline-capable
christianliebel
PRO
0
100
Dive into Triton Internals
appleparan
0
400
HTTPじゃ遅すぎる! SwitchBotを自作ハブで動かして学ぶBLE通信
occhi
0
130
NIKKEI Tech Talk#38
cipepser
0
350
テーブル定義書の構造化抽出して、生成AIでDWH分析を試してみた / devio2025tokyo
kasacchiful
0
360
CSC305 Lecture 13
javiergs
PRO
0
340
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
120
ALL CODE BASE ARE BELONG TO STUDY
uzulla
29
6.9k
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
76
5.1k
Building Adaptive Systems
keathley
44
2.8k
RailsConf 2023
tenderlove
30
1.3k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Become a Pro
speakerdeck
PRO
29
5.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Mobile First: as difficult as doing things right
swwweet
225
10k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Code Review Best Practice
trishagee
72
19k
Designing for humans not robots
tammielis
254
26k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Transcript
WordPress übersetzen Core · Plugins · Themes
i18n internationalization l10n localization
„übersetzen“ en_US de_DE
muss komplett ankommen. ! …nicht in Einzelteilen. Die Botschaft HANDLE
WITH CARE!
$textdomain Message-level Translation $msg
__() _e() $textdomain $msg
__() _e() _x() _ex() _n() esc_html__() esc_html_e() esc_html_x() esc_attr__() esc_attr_e()
esc_attr_x() $textdomain $msg
.pot – Portable Object Template .po – Portable Object .mo
– Machine Object $textdomain $msg
[…]-de_DE.mo […]-de_DE.po $textdomain $msg
__( $msg, $textdomain ); __( 'WordPress' ); __( 'Twenty Fourteen',
'twentyfourteen' ); __( 'Robots', 'wpseo' ); $textdomain
load_textdomain() ! load_plugin_textdomain() ! load_theme_textdomain() ! load_child_theme_textdomain() $textdomain
Workshop! $textdomain („interaktiv“, war lustig!)
None
[en] wceu2013.ottopress.com [en] wp.me/pllYY-8bU (Video) ! [en] translate.wordpress.org [en] make.wordpress.org/polyglots
[de] de.wordpress.org [de] de.forums.wordpress.org/forum/ wordpress-deutschland [de] teamwpde.wordpress.com
Danke!
@glueckpress glueckpress.com marketpress.com inpsyde.com Caspar Hübinger