hi maybe you need configure the setting put path for you locale dirs

LOCALE_PATHS = (
    os.path.join(SITE_ROOT,'locale'),
)

https://docs.djangoproject.com/en/dev/ref/settings/#locale-paths

Cheers


On Mon, Feb 10, 2014 at 9:44 PM, whitelotus <qiankun...@gmail.com> wrote:

>
> Hi, all,
>
> To create the message file, I did "django-admin.py makemessages -l zh_CN".
> It popped out the following error which I couldn't find on the web. Could
> anyone tell me the reason why this happened, please? <app path> is the
> absolute app path which is right. I tried "touch <app
> path>/locale/django.pot", but it still complained the same error and it
> seemed that msguniq deleted this file. I also tried "django-admin.py
> makemessages --keep-pot -l zh_CN" which didn't work either. Thank you.
>
> processing locale zh_CN
> CommandError: errors happened while running msguniq
> msguniq: error while opening "<app path>/locale/django.pot" for reading:
> No such file or directory
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8ff2f353-7e26-4fcb-90a8-9e5d34e77399%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAM-7rO0fsWZaHKOEM_WvDDtnzFhSV4vo1CX1sQWg-8nKhFRqDg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to