You should REALLY have a look at this:
http://code.google.com/p/transdb/

On Jun 26, 3:22 pm, pihentagy <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have a 3-lingual app, and there are some model fields translated,
> like this:
>
> class Category(models.Model)
>         name_hu = models.CharField(_(u'név (magyar)'), max_length=255,)
>         name_en = models.CharField(_(u'név (angol)'), max_length=255)
>         name_de = models.CharField(_(u'név (német)'), max_length=255)
>
> In some caces __unicode__ method is used for representing data (like
> in the admin app, and many other places).
> Is there a way I can tell the model about the request's language? Or,
> well, I know it is a violation of MVC, but how to solve this problem?
>
> thanks
> Gergo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to