On Thu, Mar 19, 2009 at 2:24 PM, Marc Fargas <[email protected]> wrote:
>
> I do not know what can be considered a "binary for gettext" but in the GNOME
> FTP you can find some stuff (
> http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/ ) mainly
> http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17-1.zip
> which has a "intl.dll" file. Not sure if it's enough ;)
>
> I read somewhere (Readme of the same zip file, version 0.15 available in GNU
> servers) that you need libiconv to use gettext also, it's on the same
> folder.

Hrm unfortunately no, GNU FTP servers have, besides the latest source
distributions, win32 binaries of gettext 0.13.1:

http://ftp.gnu.org/pub/gnu/gettext/

Fortunately this doesn't matter anymore because of what you've found,
see below.

>
> Hope it helps in someway ;)

Sure it does. Thanks Marc! I've tested them in the following way:

Downloaded:

http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17-1.zip

and unpacked the contents of their bin/ directories to a directory
listed in my PATH environment variable.

(Just in case I also put there the GNU.Gettext.dll and charset.alias
files from the lib/ directory contained in gettext-tools-0.17.zip)

Now I can run::

  C:\>xgettext --version
  xgettext (GNU gettext-tools) 0.17
  Copyright (C) 1995-1998, 2000-2007 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
  Written by Ulrich Drepper.

And the same for msgmerge, msguniq and msgfmt.

All of

  python django-admin.py makemessages -l es_AR

  python django-admin.py makemessages -l es_AR -d djangojs

  python django-admin.py makemessages -a

  python django-admin.py makemessages -a -d djangojs

  python django-admin.py compilemessages -l es_AR

  python django-admin.py compilemessages

run without problems, and comparing the generated .mo files with the
ones contained in the Django SVN repository shows they only differ
in the timestamp contained in the msgid "" header.

So it seems everything is working correctly. This means we can at least
rewrite the

http://docs.djangoproject.com/en/dev/topics/i18n/#gettext-on-windows

documentation section.

Thanks again!.

-- 
Ramiro Morales
http://rmorales.net

PS:  Googling for gettext-tools-0.17.zip I see now the GNOME FTP server appears
     third in the result list :(
PS2: Now I remember a survey related to this I had attempted without success in
     the mailing list two years ago:
     
http://groups.google.com/group/Django-I18N/browse_frm/thread/bf8ba9a92dd0048a

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django I18N" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Django-I18N?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to