Bug 9189

Summary: Translation process does not keep line feeds
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P5 - low CC: chris, frederic, katrin.fischer
Version: master   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10935
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 8062, 8368, 9218    
Bug Blocks:    

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