django + GAE + app-engine-patch + i18n (+ Mac)

7 views
Skip to first unread message

boson

unread,
Jan 22, 2009, 6:49:30 AM1/22/09
to Google App Engine
Anybody have luck with this combo: django + GAE + app-engine-patch +
i18n ?

I'm on Mac OS X 10.5. First I had to get the gettext package from
Fink.

But now still when I run "manage.py makemessages -l en", I get:

Error: errors happened while running xgettext on __init__.py
/bin/sh: xgettext: command not found

Where would I get xgettext (what is it even), and how can I get i18n
working?

Thank you.

tcs 241

unread,
Jan 23, 2009, 12:40:55 PM1/23/09
to Google App Engine
Hello,

I had the same error on WinXP. That is because 'GNU Gettext' is not
installed or not added in systems Path. I am Guessing it will be
similar case on Apple.

Before using Django, try to run xgettext under Shell.

Chef

Free U.S. Immigration Guide
http://visachoice.appspot.com

boson

unread,
Jan 23, 2009, 3:22:01 PM1/23/09
to Google App Engine
Well as I said I installed the getttext package from Fink (archive of
Mac GNU packages, etc.). It didn't come with xgettext, and there's no
xgettext on my system other than "xgettext.pl" in the Apple developer
folders. When I symlinked that as "xgettext", I got a bunch of errors
running makemessages anyway, so I'm not thinking it's the same.

Is "xgettext" supposed to be part of gettext? Maybe somebody packaged
it wrong...

On Jan 23, 9:40 am, tcs 241 <Mr.C...@gmail.com> wrote:
> Hello,
>
> I had the same error on WinXP. That is because 'GNU Gettext' is not
> installed or not added in systems Path. I am Guessing it will be
> similar case on Apple.
>
> Before using Django, try to run xgettext under Shell.
>
> Chef
>
> Free U.S. Immigration Guidehttp://visachoice.appspot.com
Reply all
Reply to author
Forward
0 new messages