Saturday, October 31, 2015

Re: install gettext tools 0.15

Maybe I download a wrong files I have win 8 x64 and from

https://download.gnome.org/binaries/win64/dependencies/

I download files:

gettext-runtime_0.18.1.1-1_win64.zip

gettext-tools_0.18.1.1-1_win64.zip

create folder in path C:\Program Files\gettext-utils and extract this 2 files there. There isn't msgfmt.exe file

W dniu piątek, 30 października 2015 21:33:52 UTC+1 użytkownik Dariusz Mysior napisał:

I use Windows 8 Python 3.4 Django 1.8 and I try

I set settings and add: USE_I18N = True

add to MIDDLEWARE_CLASSES django.middleware.locale.LocaleMiddleware

like in describe in link below

https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#gettext-on-windows

I download gettext-runtime_0.18.1.1-1_win64 and gettext-tools_0.18.1.1-1_win64 extract to C:\Program Files\gettext-utils add path like in link to Control Panel > System > Advanced > Environment Variables and when I write to terminal C:\Python34\ownsite>manage.py compilemessages I had info :(

CommandError: Can't find msgfmt. Make sure you have GNU gettext tools 0.15 or newer installed.

What can I do more??? I have lost a few days on

--
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+unsubscribe@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/2669aec4-ef74-4ef6-94c8-dad4d20a29fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment