I think you need to install gettext package.

On Fri, Jun 25, 2010 at 1:23 PM, Thomas Lionel Smets <tsm...@gmail.com>wrote:

> My django application root directory on my Mac is :
> /Users/tsmets/Documents/python/<Project>/<Site>
> Under that folder I have the following directory structure :
>
> Thomas-SMETSs-MacBook-Pro:<Site> tsmets$ find .  -d 1
>
> ./.svn
> ./__init__.py
> ./Base
> ./clean_unused.sh
> ./constants.py
> ./fixtures
> ./formats
> ./Health
> ./InfoAndNews
> ./load_data.sh
> ./locale
> ./logging.conf
> ./manage.py
> ./scripts
> ./settings.py
> ./Sport
> ./templates
> ./test_constants.py
> ./urls.py
> ...
>
> with as Django module : Base / Health / InfoAndNews / Sport
>
>
> After struggling a bit (it is always good), I exported teh following
> variable :
> DJANGO_SETTINGS_MODULE=/Users/tsmets/Documents/python/<Project>/<Site>
>
>
> Now, when I run the command to generate the message
>
> <snip>
> Thomas-SMETSs-MacBook-Pro:<Site> tsmets$ django-admin.py  makemessages -v 2
> -a
> examining files with the extensions: .html
> processing language ca
> ignoring file all-wcprops in ./.svn
> ignoring file entries in ./.svn
> ignoring file __init__.py.svn-base in ./.svn/prop-base
> ignoring file clean_unused.sh.svn-base in ./.svn/prop-base
> ignoring file constants.py.svn-base in ./.svn/prop-base
> ignoring file load_data.sh.svn-base in ./.svn/prop-base
> ignoring file logging.conf.svn-base in ./.svn/prop-base
> ignoring file manage.py.svn-base in ./.svn/prop-base
> ignoring file settings.py.svn-base in ./.svn/prop-base
> ignoring file urls.py.svn-base in ./.svn/prop-base
> ignoring file __init__.py.svn-base in ./.svn/text-base
> ignoring file clean_unused.sh.svn-base in ./.svn/text-base
> ignoring file constants.py.svn-base in ./.svn/text-base
> ignoring file load_data.sh.svn-base in ./.svn/text-base
> ignoring file logging.conf.svn-base in ./.svn/text-base
> ignoring file manage.py.svn-base in ./.svn/text-base
> ignoring file settings.py.svn-base in ./.svn/text-base
> ignoring file urls.py.svn-base in ./.svn/text-base
> processing file __init__.py in .
> Error: errors happened while running xgettext on __init__.py
> /bin/sh: xgettext: command not found
>
> Thomas-SMETSs-MacBook-Pro:<Site> tsmets$ xgettext<Press-TAB>
> xgettext.pl        xgettext5.10.0.pl  xgettext5.8.9.pl
>
> </snip>
>
>
>
>
> Any idea ... what's wrong .... ?
>
> \T,
>
>
>
>
> --
> Thomas SMETS
> rue J. Wytsmanstraat 62
> 1050 Brussels
> m. : +32 497 44 68 12
> W : http://genealogy.tsmets.lautre.net
> skype : tsmets
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to