Friday, October 30, 2015

install gettext tools 0.15

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/a8d67475-b471-4683-aeaf-aa43e9d547e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment