On 8/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Another question regarding internationalization: How can I
> internationalize the default model SQL files?

Sorry, I've been away for a few days, and just catching up on the
mailing list :)

You can't do this with sqlinitialdata, without patching the source to
manage.py, but you *could* use a management.py script, rather than sql
initial data, to pre-populate your tables. I believe that at that
point, you have access to settings, and can check the default
language, and use the appropriate data.

You'll have to do it all in python, rather than sql, but you'll at
least have the full power of django's orm :)

Ian Clelland
<[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to