text not translated on the UI, while it is translated in the PO

Derek Atkins warlord at MIT.EDU
Thu Oct 16 21:34:18 EDT 2008


Quoting zhangweiwu at realss.com:

> Derek Atkins wrote:
>> Hi,
>>
>> Quoting Zhang Weiwu <zhangweiwu at realss.com>:
>>
>>> sorry for having a new translator's question. This is my first trial to
>>> correct translation on gnome software.
>>>
>>> I found the word "Total Credits", "Total Debits" and "Net Change" was
>>> not translated to Chinese when locale was zh_CN.UTF-8 (I compiled from
>>> 2.2.7 source myself). See the screenshot attached. First I thought
>>> someone overlooked the phrases, because all other parts are translated
>>> fine. Then I use gtranslator to work on zh_CN.po and found it is
>>> translated in the po, like in the screenshot. Then I don't know how to
>>> make it also Chinese on the UI.
>>>
>>> I wonder is there something wrong in the source code that makes these 3
>>> particular phrases not translated? Because they are the only cases so
>>> far with missing translation on zh_CN.
>>
>> Which report is this?
> Account Report has this problem. Others probably also.

Very odd.  That string certainly looks translated in the scheme source.
It could be a bug in the po file.  But in the report (register.scm)
the only place where the string "Total Credits" is used is in a translated
string:

./src/report/standard-reports/register.scm:             (add-subtotal-row (_
"Total Credits") leader table used-columns

So this string should be translated.

>> Also, the About Box appears untranslated, too!
> Oh was it supposed to be translated? I thought it was intentionally:)

I would have expected it to be, but I don't know.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list