Monday, May 2, 2011

Makemessages Multiline

I'm using Django for about a year by now and I'm using translation
since users of my website are mixed german/english speaking.

makemessages works well on Windows, but on Debian 5 it doesn't work
with multiple line messages and I can't figure out why. I'm sure it's
a simple problem, but I don't get it :(


self.message = _('This is some error message, '
'multiple lines!')

On windows:
msgid "This is some error message, multiple lines!"

Linux
msgid "This is some error message, "

There are newlines after the "'" and ")", backslash or plus after the
first line doesn't 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate