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
82
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
5.8k
Django Fluent CMS - DjangoCon EU 2013
vdboor
2
6.8k
Other Decks in Programming
See All in Programming
Git Lint
bkuhlmann
4
750
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
Git Rebase
bkuhlmann
11
1.6k
Rails と人魚の話/rails-and-mermaid
sanfrecce_osaka
0
100
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
340
What We Can Learn From OSS
inouehi
0
420
PostmanでAPIの動作確認が楽になった話
h455h1
0
160
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
22
15k
Elm Form Validation
bkuhlmann
0
510
Folding Cheat Sheet #2
philipschwarz
PRO
0
120
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
130
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
36
2.1k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
The Invisible Side of Design
smashingmag
294
49k
Music & Morning Musume
bryan
41
5.6k
Optimizing for Happiness
mojombo
370
69k
Art, The Web, and Tiny UX
lynnandtonic
288
19k
Six Lessons from altMBA
skipperchong
20
3k
Done Done
chrislema
178
15k
Documentation Writing (for coders)
carmenintech
59
3.9k
Side Projects
sachag
451
41k
The Brand Is Dead. Long Live the Brand.
mthomps
48
28k
A Philosophy of Restraint
colly
196
16k
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