Bug 254863 - html export not working in Italian
Summary: html export not working in Italian
Alias: None
Product: i18n
Classification: Translations
Component: it (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-i18n-it
Depends on:
Reported: 2010-10-21 11:31 UTC by Frediano Ziglio
Modified: 2010-10-22 04:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Frediano Ziglio 2010-10-21 11:31:25 UTC
Version:           2.3 (using KDE 4.5.1) 
OS:                Linux

We narrow down an HTML export problem. Trying exporting to HTML using Italian localization program does not export anything. Launching from console program output an error loading tellico2html.xsl file. The wrong line was something like


(Cerca is the Italian translation for Search). Looking at tellico2html.xsl you can find a 


in Italian .po file you can find a translation for "Search" to "Cer&ca" (probably the & came from a menu). The problem is that for xsl localization "Search" is translated to "Cer&ca" and not with "Cer&amp;ca" so xsl got wrong and export fails. Note also that error is reported only using console and not by the GUI.

Replacing "Cer&ca" with "Cerca" in .po file and compiling/installing again solve the problem.

Thanks in advance
  Frediano Ziglio

Reproducible: Always

Steps to Reproduce:
1- open the program using Italian localication
2- open a .tc file
3- select File -> Export -> HTML

Actual Results:  
no html file and no error

Expected Results:  
html file generated
Comment 1 Pino Toscano 2010-10-21 20:01:23 UTC
SVN commit 1188217 by pino:

remove extra accelerator mark from translation

CCMAIL: pompafi@hotmail.it
BUG: 254863

 M  +1 -1      tellico.po  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1188217
Comment 2 Robby Stephenson 2010-10-22 04:20:33 UTC
SVN commit 1188333 by rstephenson:

Add workaround to escape strings that go into XML files.


 M  +4 -0      ChangeLog  
 M  +4 -12     src/tellico_utils.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1188333