Re: xgettext under osx
gettext should come with apples developer tools - otherwise install them using fink or port -- Hinnack 2009/9/2 Ramiro Morales > > On Wed, Sep 2, 2009 at 12:32 PM, arbi wrote: > > > > As for the PATH I thought it was for compilation and not for make > > message. > > Should I write this for make message ? > > > > PATH=$PATH:/Applications/Poedit.app/Contents/MacOS/ > > python /Library/python/2.5/site-packages/django/bin/make-messages.py > > ? > > And then I do django-admin.py makemessages -l fr ? > > thx (I am a newb) > > The blog post talks about the django/bin/make-messages.py > script has been replaced by the django-admin.py makemessages -l fr > > And yes, you need to have the GNU gettext command line tools > (xgettext, msgmerge, msgfmt) available when running the different > i18n-related django-admin.py commands (makemessages, > compilemessages) > > -- > Ramiro Morales > http://rmorales.net > > > > --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: xgettext under osx
On Wed, Sep 2, 2009 at 12:32 PM, arbi wrote: > > As for the PATH I thought it was for compilation and not for make > message. > Should I write this for make message ? > > PATH=$PATH:/Applications/Poedit.app/Contents/MacOS/ > python /Library/python/2.5/site-packages/django/bin/make-messages.py > ? > And then I do django-admin.py makemessages -l fr ? > thx (I am a newb) The blog post talks about the django/bin/make-messages.py script has been replaced by the django-admin.py makemessages -l fr And yes, you need to have the GNU gettext command line tools (xgettext, msgmerge, msgfmt) available when running the different i18n-related django-admin.py commands (makemessages, compilemessages) -- Ramiro Morales http://rmorales.net --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: xgettext under osx
As for the PATH I thought it was for compilation and not for make message. Should I write this for make message ? PATH=$PATH:/Applications/Poedit.app/Contents/MacOS/ python /Library/python/2.5/site-packages/django/bin/make-messages.py ? And then I do django-admin.py makemessages -l fr ? thx (I am a newb) On 2 sep, 17:10, Ramiro Morales wrote: > On Wed, Sep 2, 2009 at 11:58 AM, arbi wrote: > > > I have a pb when doing this (i am under osx) : > > > $ django-admin.py makemessages -l fr > > processing language fr > > Error: errors happened while running xgettext on __init__.py > > /bin/sh: xgettext: command not found > > > I went there :http://www.pkshiu.com/loft/archive/2008/01/gettext-on- > > leopard-for-django-internationalization > > And downloaded poedit, but the same problem is still there. > > Have you added the full path to the binaries included with poedit > to PATH as suggested at the end of that post?. Otherwise won't > be able to find the xgettext binary. > > -- > Ramiro Moraleshttp://rmorales.net --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: xgettext under osx
On Wed, Sep 2, 2009 at 11:58 AM, arbi wrote: > > I have a pb when doing this (i am under osx) : > > $ django-admin.py makemessages -l fr > processing language fr > Error: errors happened while running xgettext on __init__.py > /bin/sh: xgettext: command not found > > I went there :http://www.pkshiu.com/loft/archive/2008/01/gettext-on- > leopard-for-django-internationalization > And downloaded poedit, but the same problem is still there. Have you added the full path to the binaries included with poedit to PATH as suggested at the end of that post?. Otherwise won't be able to find the xgettext binary. -- Ramiro Morales http://rmorales.net --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
xgettext under osx
I have a pb when doing this (i am under osx) : $ django-admin.py makemessages -l fr processing language fr Error: errors happened while running xgettext on __init__.py /bin/sh: xgettext: command not found I went there :http://www.pkshiu.com/loft/archive/2008/01/gettext-on- leopard-for-django-internationalization And downloaded poedit, but the same problem is still there. Thx for help ! --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---