internationalization on database with hard-coded data

12 views
Skip to first unread message

ledzgio

unread,
Jul 5, 2012, 6:06:38 AM7/5/12
to django...@googlegroups.com
Hi all,

how can I apply internationalization on database with hard-coded data? I import my data by creating .sql files with data inside.

Is there a better way to manage hard-coded data for internationalization? and what if those data can grow with time?

thanks

Melvyn Sopacua

unread,
Jul 5, 2012, 10:14:57 AM7/5/12
to django...@googlegroups.com
Data from dynamic sources should be translated in the template. There's
examples in the internationalization docs. And yes, they don't magically
translate themselves and as such you need to run makemessages and friends.
--
Melvyn Sopacua


Reply all
Reply to author
Forward
0 new messages