Bug 15487

Summary: Encoding problem with item type translations
Product: Koha Reporter: Marc Véron <veron>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: brendan, f.demians, jonathan.druart, josef.moravec, julian.maurice
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15477
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 11559, 14100    
Bug Blocks: 15477    
Attachments: Bug 15487: Fix encoding issue on localization
Bug 15487: Fix encoding issue on localization
[PASSED QA] Bug 15487: Fix encoding issue on localization

Description Marc Véron 2016-01-06 16:07:08 UTC
To reproduce:

- Go to Home > Administration > Item types administration 
- Edit an item type
- Click 'Translate into other languages'
- Add a translation
  - Bücher turns to Bücher

- Edit a translation
  - Enter Bücher as translation
  - Result: String turns to Bücher

  - Enter Bande dessinée
  - Result: Bande dessinée
Comment 1 Jonathan Druart 2016-01-06 16:59:10 UTC
Caused by

commit ed0ff59152a41f6690b480d0b13b607250678418
    Bug 11559: Supporting changes for Rancor
Comment 2 Jonathan Druart 2016-01-06 17:00:38 UTC Comment hidden (obsolete)
Comment 3 Marc Véron 2016-01-06 17:12:16 UTC Comment hidden (obsolete)
Comment 4 Marc Véron 2016-01-06 17:15:50 UTC
Oh, patch does not apply on top of 15477 and vice versa. Can we make one dependent of the other?
Comment 5 Katrin Fischer 2016-01-06 21:04:19 UTC
Created attachment 46364 [details] [review]
[PASSED QA] Bug 15487: Fix encoding issue on localization

It has been introduced
  commit ed0ff59152a41f6690b480d0b13b607250678418
    Bug 11559: Supporting changes for Rancor

Pushed at the same time as bug 14100.

Test plan:
Add/update translations for item types, confirm there is no encoding
issues.

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 6 Brendan Gallagher 2016-01-12 16:13:04 UTC
Pushed to master - Thanks
Comment 7 Julian Maurice 2016-01-15 08:20:49 UTC
Patch pushed to 3.22.x, will be in 3.22.2