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
88
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
7k
Other Decks in Programming
See All in Programming
Beyond ORM
77web
8
1.2k
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
130
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
8
1.9k
nekko cloudにおけるProxmox VE利用事例
irumaru
3
460
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
350
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
800
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
190
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
340
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
340
Effective Signals in Angular 19+: Rules and Helpers
manfredsteyer
PRO
0
130
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
300
Featured
See All Featured
Code Review Best Practice
trishagee
65
17k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Building Your Own Lightsaber
phodgson
103
6.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Code Reviewing Like a Champion
maltzj
521
39k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Automating Front-end Workflow
addyosmani
1366
200k
Building an army of robots
kneath
302
44k
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