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
django-parler - Python Meetup in Amsterdam (PUN)
Search
Diederik van der Boor
November 13, 2013
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
django-parler - Python Meetup in Amsterdam (PUN)
Django model translations; letting users input content in multiple languages.
Diederik van der Boor
November 13, 2013
More Decks by Diederik van der Boor
See All by Diederik van der Boor
django-parler - DjangoCon EU 2014 lightning talk
vdboor
0
6.1k
Django Fluent CMS - DjangoCon EU 2013
vdboor
2
7.1k
Other Decks in Programming
See All in Programming
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
130
関数型プログラミングのメリットって何だろう?
wanko_it
0
180
20260623_Loop Engineeringで自分の分身の問い合わせBotを作る
ryugen04
0
230
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
220
AIキャラアプリkaiwaの低遅延音声通話基盤をどう作ったか - AWS Gravitonで支える低遅延・低コストAI Agent基盤
mogamit
0
180
yield再入門 #phpcon
o0h
PRO
0
680
FDEが実現するAI駆動経営の現在地
gonta
2
180
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
190
OSINT for SRE: 学術論文とポストモーテムから探る システム障害の共通パターン / SRE NEXT 2026
tomoyk
1
4.1k
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
150
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
380
「正の参照」と 「負の導出」で組む ハーネスエンジニアリング
cottpan
1
150
Featured
See All Featured
Everyday Curiosity
cassininazir
0
260
A better future with KSS
kneath
240
18k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
410
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
750
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
390
Building AI with AI
inesmontani
PRO
1
1.1k
Paper Plane (Part 1)
katiecoart
PRO
1
9.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Transcript
django-parler Easily translate "cheese omelet" into "omelette du fromage". Diederik
van der Boor Django Meetup 13-11-2013
Simple Django model translations without nasty hacks with nice admin
integration.
Got hopeful Making a CMS multilingual: Well, let's use something
existing...
django-hvad: Cool idea, however:
django-hvad Overrides all ORM methods! Lots of metaclass magic Mixing
{,/\ un}translated objects == hard Can't be combined with other apps (mptt, polymorphic, shop) Doesn't call super()
Package that! – Hack something directly in the CMS app
– K.I.S.S – Manually create translated fields table – Manually assign descriptors – Hey that works!!
example
Usage
Internals, simplified: descriptors
Admin interface!
None
None
Twitter: @vdboor, @edoburu https://github.com/edoburu/django-parle http://django-fluent.org