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
240
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
86
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
380
WordPress and AMP
glueckpress
1
51
Fast websites, and how to make them
glueckpress
0
790
Debugging Expectations
glueckpress
1
380
Themes – Basics für Anwender_innen
glueckpress
0
200
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.3k
Other Decks in Programming
See All in Programming
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
120
Symfony Mapper Component
soyuka
2
730
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
160
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
320
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
460
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
460
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
720
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
370
CSC509 Lecture 14
javiergs
PRO
0
140
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
110
Featured
See All Featured
The Language of Interfaces
destraynor
154
24k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Site-Speed That Sticks
csswizardry
2
190
Optimizing for Happiness
mojombo
376
70k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The World Runs on Bad Software
bkeepers
PRO
65
11k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Code Review Best Practice
trishagee
65
17k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
97
Designing for humans not robots
tammielis
250
25k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
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