#18533: makemessages command fails on windows
-------------------------------------+-------------------------------------
Reporter: pasha.savchenko@… | Owner: nobody
Type: Bug | Status: closed
Component: Core (Management | Version: 1.4
commands) | Resolution: needsinfo
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by kmtracey):
* status: new => closed
* needs_better_patch: => 0
* resolution: => needsinfo
* needs_tests: => 0
* needs_docs: => 0
Comment:
I cannot recreate this problem. Using this level of gettext
retrieved/"installed" as per the docs:
{{{
C:\Users\kmtracey\software\web\playground>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.
}}}
`makemessages` works fine for my test project:
{{{
C:\Users\kmtracey\software\web\playground>manage.py makemessages --locale
de
processing language de
}}}
and produces output:
{{{
C:\Users\kmtracey\software\web\playground>dir
locale\de\LC_MESSAGES\django.po
Volume in drive C is Windows7_OS
Volume Serial Number is EEFA-02D9
Directory of
C:\Users\kmtracey\software\web\playground\locale\de\LC_MESSAGES
07/01/2012 07:39 PM 659 django.po
1 File(s) 659 bytes
0 Dir(s) 202,910,855,168 bytes free
}}}
(there's only one translatable string in this project).
This is a Windows 7 box. Near as I can tell the command is producing
pathnames relative to the current directory, and that is working fine.
While it may work also to make paths absolute, I don't understand why that
would be necessary. Can you explain anything about your environment and
how it differs from what I have tried successfully that might explain why
the current code doesn't work in your case?
--
Ticket URL: <https://code.djangoproject.com/ticket/18533#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en.