[Kalzium] [Bug 281498] New: Some messages not translated

stefan.asserhall at comhem.se stefan.asserhall at comhem.se
Tue Sep 6 20:30:27 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=281498

           Summary: Some messages not translated
           Product: kalzium
           Version: 2.3.90
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kalzium at kde.org
        ReportedBy: stefan.asserhall at comhem.se


Created an attachment (id=63453)
 --> (http://bugs.kde.org/attachment.cgi?id=63453)
Git patch to update the XML file

Version:           2.3.90 (using Devel) 
OS:                Linux

Some messages in "kalzium/data/knowledge.xml" are not translated in Kalzium,
because certain characters are represented with XML Unicode entities (e.g.
± for ±). When read by the program, these are changed to the actual
character, so the messages extracted by extractrc do not match the string
anymore, which prevents translation.
A simple fix is to change the XML file to use the actual Unicode character,
which should work fine, since the file encoding is UTF-8. The attached git
patch does that.
Another option is of course to change the code, but I have not looked into
that.

The version reported by "About Kalzium" is 2.4.00.

Reproducible: Didn't try

Steps to Reproduce:
Open Tools -> Glossary, and look at the explanation of Electron or another
message with an entity, using any other language than English, for example
Swedish. The explanation is not translated.

Actual Results:  
Message in English.

Expected Results:  
Message in other language (for example Swedish)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kalzium mailing list