Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13831 - GnuCash french locale seems buggy
Summary: GnuCash french locale seems buggy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-13 03:37 UTC by Alexandre Snaps
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New account xml files fixing the problem above (gnucash_patch.tar.bz2,7.29 KB, application/octet-stream)
2003-01-13 05:06 UTC, Alexandre Snaps
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Snaps 2003-01-13 03:37:47 UTC
I just emerged GnuCash.
While I mainly use linux in English, I decided to run gnucash in French, which
is my mother tongue.
After export'ing LANG=fr_FR (with and without EURO support doesn't seems to
change the following behavior) and running the Druid to start my new file, when
at the "Choose accounts to create" screen I get the following error and all
choices are empty:

-- ERROR REPORT STARTS --

Error: sixtp_handle_catastrophe: parse failed at 

(stack-frame 0x8404e10
             (parser 0x83fe760)
             (tag (null))
             (data-for-children (nil))
             (data-from-children)
             (frame-data (nil)))
  (stack-frame 0x83ee138
               (parser 0x84038d8)
               (tag gnc-account-example)
               (data-for-children (nil))
               (data-from-children ((tag gnc:account) (data 0x8406890)) ((tag
gnc:account) (data 0x8406890)) ((tag gnc:account) (data 0x8406890)) ((tag
gnc:account) (data 0x8406890)) ((tag gnc:account) (data 0x8406890)) ((tag
gnc:account) (data 0x8406378)) ((tag gnc-act:long-description) (data 0x84054f8))
((tag gnc-act:short-description) (data 0x84052e8)) ((tag gnc-act:title) (data
0x8406108)))
               (frame-data (nil)))
    (stack-frame 0x83ee610
                 (parser 0x8403538)
                 (tag gnc:account)
                 (data-for-children 0x8406890)
                 (data-from-children)
                 (frame-data 0x8406890))
      (stack-frame 0x84064e0
                   (parser 0x8403538)
                   (tag act:description)
                   (data-for-children 0x8407078)
                   (data-from-children)
                   (frame-data (nil)))
        (stack-frame 0x8406d60
                     (parser 0x8403538)
                     (tag act:description)
                     (data-for-children 0x84011b0)
                     (data-from-children)
                     (frame-data (nil)))

-- ERROR REPORT ENDS --

All other menus and dialogs do speak french.
I tryed german which seems to work alright, as does english
Comment 1 Alexandre Snaps 2003-01-13 05:06:21 UTC
Created attachment 7255 [details]
New account xml files fixing the problem above

Simply bunzip and untar this in your root dir (/) and it'll replace the account
xml files for the fr_FR locale, fixing:
- acctchrt_spouseretire.gnucash-xea:82: error: Opening and ending tag mismatch:
act:description and gnc:account
</gnc:account>
- acctchrt_common.gnucash-xea:86: error: Opening and ending tag mismatch:
act:description and gnc:account
</gnc:account>

I've also added encoding to iso-8859-1 (which might not have been necessary,
but xmllint seemed to complain when lesft to default UTF-8)
Comment 2 Alexandre Snaps 2003-01-13 05:07:19 UTC
It seems the translator did speak french but not XML,
I think I fixed it... Will submit to gnucash.org too!