mbi/django-rosetta — Issue #24: Support --no-wrap option and/or different line wrap lengths
Author: poswald
Created: 2012-01-28 04:52:50+00:00
State: open

I am constantly having issues where the `manage.py makemessages` command which I use to update the file line numbers with creates strings where the line wrap occurs at a different point than when the files are saved by translators using rosetta. This means that diffs include a lot of noise where the only change is a single word on the following line.

I can turn off line wrapping with the `--no-wrap` option in makemessages but there is no similar capability in rosetta. It seems like [polib supports this](http://polib.readthedocs.org/en/latest/api.html#polib.pofile) to some extent. I would assume setting `wrapwidth` to 0 would do it. Would it be possible to add a `ROSETTA_WRAPWIDTH` setting?