[Python-il] [pyweb-il:654] proplems with i18n

benny daon bennydaon at gmail.com
Mon Jan 11 13:34:25 IST 2010


Seems like you're running the command from a directory level that's one too
deep. Try running it from the project dir - where manage.py is and not from
the 'app' dir.

Benny

2010/1/11 Elitzur Bahir <astrotzur at gmail.com>

> Hi!
>
> I'm trying to make a multi language website in django and I have
> encountered the following problem:
> When typing
>        django-admin.py makemessages -l he
> I get
>        -bash: django-admin.py: command not found
> (I guess it means that django-admin.py is not my $PATH, when tryin to
> add it's location to the $PATH I got "Permission denied")
> So I typed
>        /home/user/webapps/django/bin/django-admin.py makemessages -l
> he
> I got
>        processing language he
> And the following empty directory was created:
>        /home/user/webapps/django/project/app/locale/he/LC_MESSAGES
> Where is the django.po file? Or why haven't it been created?
>
> Thanks.
> Tzur
>
> --
> You received this message because you are subscribed to the Google Groups
> "PyWeb-IL" group.
> To post to this group, send email to pyweb-il at googlegroups.com.
> To unsubscribe from this group, send email to
> pyweb-il+unsubscribe at googlegroups.com<pyweb-il%2Bunsubscribe at googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/pyweb-il?hl=en.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://hamakor.org.il/pipermail/python-il/attachments/20100111/949eebf7/attachment.htm 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://hamakor.org.il/pipermail/python-il/attachments/20100111/949eebf7/attachment-0001.htm 


More information about the Python-il mailing list