Tried this one?
http://code.google.com/p/django-multilingual/
//Magnus
On 15 Dec, 12:18, Julian <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> is there any tutorial/howto/example for a smart solution to bring i18n
> into django models?
>
> i have an object A with a property name. this name should b
-
message.py but once, and that was to create the .mo file in the first
place.
Thanks for your time Rajesh, ultimaly your advice helped me as I
wouldn't have recompiled for quite some time otherwise. :)
//Magnus
On 14 Dec, 19:38, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> On Dec 14, 1:1
I've introduced i18n for about a week or so ago, and have updated the
svn trunk daily. Right now I'm on 6917, but no version have worked.
As for the server, I'm running the internal dev-server on OSX for
developing, and mod_python under apache for testing. Same problem on
both.
//Magnus
On 14 D
I'm sorry, saying that I spent hours on the project and then not
supplying information about what I tried was pretty silly.
Sessions are working fine, and request.session['django_language']
outputs the correct language code ('es' or 'en'). I'm using the same
session variable to define what langua
In this project I have two languages defined in my settings.py, and
have set LANGUAGE_CODE. I've created the po/mo-files and the site is
translated to whatever language I specify in settings.
The problem arises when I try to set the language runtime. I've
implemented the standard example of how t
1. Try adding blank=True as well
2. You need to tell django what to output. Do this by defining a
__unicode__ method in the class News such as:
def __unicode__(self):
return unicode(self.title)
//Magnus
On 14 Dec, 15:36, Nianbig <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have two models, Categor
6 matches
Mail list logo