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
230
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
75
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
48
Fast websites, and how to make them
glueckpress
0
780
Debugging Expectations
glueckpress
1
370
Themes – Basics für Anwender_innen
glueckpress
0
200
Widgets — Minions Of WordPress
glueckpress
0
230
WordPress, on fait speak my language, va bene?
glueckpress
0
1k
The Multilingual Blogging Software Dilemma (and ways to solve it)
glueckpress
0
3.3k
Other Decks in Programming
See All in Programming
Honoの来た道とこれから
yusukebe
19
3k
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1k
Vaporモードを大規模サービスに最速導入して学びを共有する
kazukishimamoto
4
4.3k
offers_20241022_imakiire.pdf
imakurusu
2
360
qmuntal/stateless のススメ
sgash708
0
120
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
550
cXML という電子商取引の トランザクションを支える プロトコルと向きあっている話
phigasui
3
2.3k
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
920
Kotlin2でdataクラスの copyメソッドを禁止する/Data class copy function to have the same visibility as constructor
eichisanden
1
140
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
400
CSC305 Lecture 13
javiergs
PRO
0
130
Outline View in SwiftUI
1024jp
1
160
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
How STYLIGHT went responsive
nonsquared
95
5.2k
A better future with KSS
kneath
238
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
For a Future-Friendly Web
brad_frost
175
9.4k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Fireside Chat
paigeccino
32
3k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Why Our Code Smells
bkeepers
PRO
334
57k
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