Woohoo! Looks like I solved it.

The error I had made was that inside my locale folders I had named
Swedish "sv_se" which wasn't right. I looked into the django/conf/
locale folder and saw that there they referred to Swedish as "sv". So
by changing the folder names Django finally found them.

Oh, and I can concur that the LocaleMiddleware is not needed to
translate per-app.

Thank you everyone for your help!

On Nov 25, 12:37 pm, Alex Jonsson <[EMAIL PROTECTED]> wrote:
> I did just check the permissions, and even tried change them to a=rwx.
> Still not working.
>
> I tried a couple of other things as well - I made a symlink in one of
> my folders on my PYTHONPATH pointing to my project (it required me to
> do that in order to run the django-admin.py makemessages command) and
> then made and compiled a project-wide translation. Still not working!
>
> Could it have something to do with gettext or such? I use the
> ugettext_lazy and my server runs Python 2.3.
>
> On Nov 25, 12:03 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Tue, 2008-11-25 at 03:01 -0800, Alex Jonsson wrote:
> > > Thank you everyone for your feedback.
>
> > > I forgot to mention that I read that paragraph in the docs as well and
> > > already installed the LocaleMiddleware. This makes the translation of
> > > the built-in modules work, but not my per-app translations. This was
> > > why I was thinking that maybe it had something to do with my
> > > PYTHONPATH. I've even tried to change it to include all the apps
> > > directories, but that was to no avail either.
>
> > > Any ideas?
>
> > Have you checked permissions? Does the webserver have permission to read
> > the files in question (including permission to access the directories
> > all the way the down to the files)?
>
> > Malcolm
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to