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
0
96
django-parler - Python Meetup in Amsterdam (PUN)
Django model translations; letting users input content in multiple languages.
Diederik van der Boor
November 13, 2013
Tweet
Share
More Decks by Diederik van der Boor
See All by Diederik van der Boor
django-parler - DjangoCon EU 2014 lightning talk
vdboor
0
6k
Django Fluent CMS - DjangoCon EU 2013
vdboor
2
7.1k
Other Decks in Programming
See All in Programming
エンジニアとして高みを目指す、 利益を生み出す設計の考え方 / design-for-profit
minodriven
23
12k
CSC509 Lecture 04
javiergs
PRO
0
300
overlayPreferenceValue で実現する ピュア SwiftUI な AdMob ネイティブ広告
uhucream
0
170
Cursorハンズオン実践!
eltociear
1
460
あなたの知らない「動画広告」の世界 - iOSDC Japan 2025
ukitaka
0
450
オープンソースソフトウェアへの解像度🔬
utam0k
4
700
Back to the Future: Let me tell you about the ACP protocol
terhechte
0
130
NetworkXとGNNで学ぶグラフデータ分析入門〜複雑な関係性を解き明かすPythonの力〜
mhrtech
3
1.2k
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
960
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
130
CSC509 Lecture 05
javiergs
PRO
0
300
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
580
Featured
See All Featured
Become a Pro
speakerdeck
PRO
29
5.5k
How to Ace a Technical Interview
jacobian
280
24k
A designer walks into a library…
pauljervisheath
209
24k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Visualization
eitanlees
148
16k
How to train your dragon (web standard)
notwaldorf
96
6.3k
Code Review Best Practice
trishagee
72
19k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
RailsConf 2023
tenderlove
30
1.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Mobile First: as difficult as doing things right
swwweet
224
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