Re: Default account structure for different locales

2014-01-30 Thread Ngewi Fet
John, thanks for the tip about changing the locale. I got all the files I need. Cheers, On Jan 30, 2014 9:10 PM, "John Ralls" wrote: > > On Jan 30, 2014, at 9:08 AM, Derek Atkins wrote: > > > John Ralls writes: > > > >>> grep 'act:id' accounts/de_DE/*-xea | grep -v 'type="new" > >>> > >>> We sh

Re: Default account structure for different locales

2014-01-30 Thread John Ralls
On Jan 30, 2014, at 9:08 AM, Derek Atkins wrote: > John Ralls writes: > >>> grep 'act:id' accounts/de_DE/*-xea | grep -v 'type="new" >>> >>> We should fix that, and all the others. >> >> find -exec sed to the rescue! >> >> r23780. > > Looks like you missed accounts/fr_CA/acctchrt_cdmarchem

Re: Default account structure for different locales

2014-01-30 Thread Derek Atkins
John Ralls writes: >> grep 'act:id' accounts/de_DE/*-xea | grep -v 'type="new" >> >> We should fix that, and all the others. > > find -exec sed to the rescue! > > r23780. Looks like you missed accounts/fr_CA/acctchrt_cdmarchemon.gnucash-xea but I can verify that all the rest are fixed. > Regar

Re: Default account structure for different locales

2014-01-30 Thread John Ralls
On Jan 30, 2014, at 8:16 AM, Derek Atkins wrote: > Ngewi Fet writes: > >> Thanks for that clarification John. >> Intuitively I expected the GUIDs to be generated each time. But once I tried >> to import two files from different locales (and different machines) and had >> the GUIDs all coincide

Re: Default account structure for different locales

2014-01-30 Thread John Ralls
On Jan 30, 2014, at 7:31 AM, Ngewi Fet wrote: > Thanks for that clarification John. > Intuitively I expected the GUIDs to be generated each time. But once I tried > to import two files from different locales (and different machines) and had > the GUIDs all coincide. > That surprised me and got

Re: Default account structure for different locales

2014-01-30 Thread Derek Atkins
Ngewi Fet writes: > Thanks for that clarification John. > Intuitively I expected the GUIDs to be generated each time. But once I tried > to import two files from different locales (and different machines) and had > the GUIDs all coincide. > That surprised me and got me wondering if GnuCash hardco

Re: Default account structure for different locales

2014-01-30 Thread Ngewi Fet
Thanks for that clarification John. Intuitively I expected the GUIDs to be generated each time. But once I tried to import two files from different locales (and different machines) and had the GUIDs all coincide. That surprised me and got me wondering if GnuCash hardcodes the GUIDs somehow (which I

Re: Default account structure for different locales

2014-01-30 Thread John Ralls
On Jan 30, 2014, at 1:25 AM, Ngewi Fet wrote: > Oh that's a bummer. :( > I want to have the GUIDS and in addition, the import functionality > currently built into the app handles only actual Gnucash account structure > files. > > That means I need people to actually export the Gnucash account f

Re: Default account structure for different locales

2014-01-30 Thread Ngewi Fet
Oh that's a bummer. :( I want to have the GUIDS and in addition, the import functionality currently built into the app handles only actual Gnucash account structure files. That means I need people to actually export the Gnucash account files and send to me after all. Right? Gnucash seems locked do

Re: Default account structure for different locales

2014-01-29 Thread Derek Atkins
Note that you won't get GUIDs from the xea files. GnuCash, when it sees the "new" keyword generates a new GUID for the accounts. This way every account tree is unique. The only way to get the GnuCash account GUIDs is to read in the actual data file. -derek Sent from my HTC smartphone -

Re: Default account structure for different locales

2014-01-29 Thread Ngewi Fet
Thanks for the input Frank. It's not really much effort for me since the functionality for importing the files is already there. I just need to copy the account structure files over. Also, upon first launch of the app, users have the option to create some default accounts. I might as well just

Re: Default account structure for different locales

2014-01-29 Thread Frank H. Ellenberger
Hi Ngewi, Am 29.01.2014 14:05, schrieb Ngewi Fet: > Hello everyone, > I am working on generating the default GnuCash account structure in the > Android app without having to export from desktop and then import. For this > to happen, I need the account structure file for different locales. : I am

Re: Default account structure for different locales

2014-01-29 Thread Ngewi Fet
Ok thanks :) > On 29.01.2014, at 18:16, "Derek Atkins" wrote: > > >> On Wed, January 29, 2014 11:39 am, Ngewi Fet wrote: >> I can't find the folder for en_US locale here: >> https://github.com/Gnucash/gnucash/tree/trunk/accounts >> Am I missing something? > > Yes, it is spelled "C". :) >

Re: Default account structure for different locales

2014-01-29 Thread Derek Atkins
On Wed, January 29, 2014 11:39 am, Ngewi Fet wrote: > I can't find the folder for en_US locale here: > https://github.com/Gnucash/gnucash/tree/trunk/accounts > Am I missing something? Yes, it is spelled "C". :) -derek -- Derek Atkins 617-623-3745 de...@ihtfp.com

Re: Default account structure for different locales

2014-01-29 Thread Geert Janssens
On Wednesday 29 January 2014 17:39:34 Ngewi Fet wrote: > I can't find the folder for en_US locale here: > https://github.com/Gnucash/gnucash/tree/trunk/accounts > Am I missing something? > You will want the "C" directory. C is the technical equivalent of en_US. Geert > On Wed, Jan 29, 2014 at 2:

Re: Default account structure for different locales

2014-01-29 Thread Ngewi Fet
I can't find the folder for en_US locale here: https://github.com/Gnucash/gnucash/tree/trunk/accounts Am I missing something? On Wed, Jan 29, 2014 at 2:37 PM, Ngewi Fet wrote: > Oh true!!! I will get the files from there. > Thank you for pointing that out! > > @everyone, please ignore my email.

Re: Default account structure for different locales

2014-01-29 Thread Ngewi Fet
Oh true!!! I will get the files from there. Thank you for pointing that out! @everyone, please ignore my email. On Wed, Jan 29, 2014 at 2:13 PM, Derek Atkins wrote: > Hi, > > Why don't you just load the files from Gnucash's accounts/*/ directories? > > -derek > > On Wed, January 29, 2014 8:05

Re: Default account structure for different locales

2014-01-29 Thread Derek Atkins
Hi, Why don't you just load the files from Gnucash's accounts/*/ directories? -derek On Wed, January 29, 2014 8:05 am, Ngewi Fet wrote: > Hello everyone, > I am working on generating the default GnuCash account structure in the > Android app without having to export from desktop and then import.