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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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