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
92
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
Comparing decimals in Swift Testing
417_72ki
0
170
中級グラフィックス入門~効率的なメッシュレット描画~
projectasura
4
2.6k
構文解析器入門
ydah
7
2.1k
あまり知られていない MCP 仕様たち / MCP specifications that aren’t widely known
ktr_0731
0
240
自作OSでDOOMを動かしてみた
zakki0925224
1
1.3k
なぜ今、Terraformの本を書いたのか? - 著者陣に聞く!『Terraformではじめる実践IaC』登壇資料
fufuhu
4
560
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
310
JetBrainsのAI機能の紹介 #jjug
yusuke
0
200
可変性を制する設計: 構造と振る舞いから考える概念モデリングとその実装
a_suenami
10
1.7k
Bedrock AgentCore ObservabilityによるAIエージェントの運用
licux
9
600
DataformでPythonする / dataform-de-python
snhryt
0
160
Scale out your Claude Code ~自社専用Agentで10xする開発プロセス~
yukukotani
9
1.8k
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Building an army of robots
kneath
306
45k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Done Done
chrislema
185
16k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
880
Rails Girls Zürich Keynote
gr2m
95
14k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
332
22k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
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