Bug 9189 - Translation process does not keep line feeds
Summary: Translation process does not keep line feeds
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on: 8062 8368 9218
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-03 10:28 UTC by Fridolin Somers
Modified: 2014-12-07 20:02 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fridolin Somers 2012-12-03 10:28:07 UTC
Translation process does not keep line feeds in translated templates.
This is no problem for templates that generates HTML, but this is a problem for the template "koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/basketgroup.tt" generating a CSV file : all datas appears in only one line.

Tested with master sources and PO files 3.10 from translate.koha-community.org.
Comment 1 Frédéric Demians 2012-12-03 11:03:36 UTC
Take a look at bug 8062 and opac-sendbasket.tt.
Comment 2 Fridolin Somers 2012-12-05 14:12:26 UTC
There are several functions broken by this problem, see bugs 8368 and 9218.
Is it not possible to change translation script ?
Comment 3 Chris Cormack 2012-12-05 20:21:30 UTC
(In reply to comment #2)
> There are several functions broken by this problem, see bugs 8368 and 9218.
> Is it not possible to change translation script ?

It's possible to change any script :) I'm looking forward to testing your patch :)
Comment 4 Katrin Fischer 2012-12-05 20:27:02 UTC
And it's often not as easy as it looks at first glance. There were other places where wrong line breaks broke other things before... it's been proven a bit hard to reach 100% with the scripts.
Comment 5 Fridolin Somers 2013-11-08 16:25:00 UTC
Acq basket CSV export solved by Bug 10935