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
81
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
49
Fast websites, and how to make them
glueckpress
0
790
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
1.1k
The Multilingual Blogging Software Dilemma (and ways to solve it)
glueckpress
0
3.3k
Other Decks in Programming
See All in Programming
Contemporary Test Cases
maaretp
0
120
Realtime API 入門
riofujimon
0
150
RubyLSPのマルチバイト文字対応
notfounds
0
100
Dev ContainersとGitHub Codespacesの素敵な関係
ymd65536
1
140
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
1
450
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
230
役立つログに取り組もう
irof
28
9.5k
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
450
JavaでLチカしたい! / JJUG CCC 2024 Fall LT
nhayato
0
130
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.3k
Ethereum_.pdf
nekomatu
0
430
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
240
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
[RailsConf 2023] Rails as a piece of cake
palkan
51
4.9k
Adopting Sorbet at Scale
ufuk
73
9.1k
RailsConf 2023
tenderlove
29
900
Become a Pro
speakerdeck
PRO
25
5k
Unsuck your backbone
ammeep
668
57k
Six Lessons from altMBA
skipperchong
27
3.5k
Building an army of robots
kneath
302
42k
Being A Developer After 40
akosma
86
590k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Documentation Writing (for coders)
carmenintech
65
4.4k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.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