UK company VAT account structure, updated
Derek Atkins
warlord at MIT.EDU
Wed Jul 23 13:46:29 CDT 2003
No, it only shows the ones in the locale directory (because
technically you're supposed to "translate" all of them). I suppose,
theoretically, it could use the locale to "override" the Common
accounts, in order words:
1) If it exists only in locale, use locale
2) If it exists only in C, use C
3) If it exists in both locale and C, use locale
I do not know how hard it would be to do this. Care to take a look?
-derek
Vincent V <vincentv at dsl.pipex.com> writes:
> That's spooky, it all works now!
>
> I already had a en_GB directory but when I moved the last version of
> my xea file into it the druid found it. Perhaps there was a bug in my
> structure that the second copy fixed! So I have sent the file off to
> gnucash-patches.
>
> But then I noticed that not all the locale directories had hyphenated
> names, there was a C and a da and an sk. So I tried renaming the en_GB
> directory to GB. Now the druid displayed all the basic account
> structures that I had seen the first time that I had run GNUcash. So C
> must be Common accounts and not Canada as I had mistakenly thought
> (that would be en_CA of course). But that means that anyone who has a
> locale with an associated directory will only ever see the contents of
> that directory and not the common ones. So a new user with an en_GB
> locale will only ever see my VAT accounts - which is probably not what
> most users want! Surely the druid should show both the common and
> locale directory of the user?
>
> Vince
>
>
>
> Derek Atkins wrote:
>
> >>The trouble is that I can't test it; when I start the 'new file' druid
> >>it doesn't show any accounts files at all - just a blank selection. If
> >>I try to load any xea file manually - using file:open - I get an error
> >>message saying that the file was created usng a later version of
> >>gnucash than mine (even the file I just created) and I should
> >>upgrade. Actually I suppose it has a point, the xml code does clearly
> >>say <gnc:account version="2.0.0"> adnI'm running 1.8.1
> >>
> >
> >Yea, you need to add the file to accounts/<locale>/ and get it to install
> >properly (or you can just hand-install it into the runtime tree). I think
> >it goes into <prefix>/share/accounts/<locale>/
> >
> >-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-user
mailing list