26

(35 replies, posted in Translations)

so ..... back again ..... updated to version 2.3.10, the problem seems to be solved.

Tnx for everything and keep up the good work !!

so ..... back again ..... updated to version 2.3.10, the problem seems to be solved.

Tnx for everything and keep up the good work !!

28

(35 replies, posted in Translations)

Hi there,

My personal life is like a typhoon right now. As soon as the sun is shining again, I'll give it a go  and let you know.
Thanks in advance & keep up the good work.

Hi there,

My personal life is like a typhoon right now. As soon as the sun is shining again, I'll give it a go  and let you know.
Thanks in advance & keep up the good work.

30

(35 replies, posted in Translations)

Tnx for your help Joe,

Unfortunately "this should fix the mess" .... nope.
I added your line into the gettext.php, cleared cookies, cleared cached, logged in, browsed only a few tabs, watched my sess*-files and there was one of 18 MB and one of 35 MB and a few small ones. After logging out, only the 35 mb was deleted, the small ones and the 18MB were still there.

sad

ps. @ Joe: Maybe you wanna take a look here : https://frontaccounting.com/punbb/viewtopic.php?id=2223 before you and Janusz are working on the same thing, without knowing.

31

(35 replies, posted in Translations)

Great work !!

I'll wait for your next release (please give a shout here, so I know it's coming).
But I have no trouble at all if you spam my mailbox with prerelease versions wink

Mike

Tnx for your reply Janusz.
I'm not working on my own server, so I can't install gettext.

Does it help if I create an other installation for testing purpose, with FTP access (and phpmyadmin if needed) ?

I gave it a new shot with translation v2.3.9.-1

It gave me a new one-time error output after login.

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:307:     set_ext_domain()
/**path**/fa/includes/hooks.inc:400:     hook_invoke_last('authenticate','**username**','**password**')
/**path**/fa/includes/current_user.inc:71:     hook_authenticate('**username**','**password**')
/**path**/fa/includes/session.inc:374:     (current_user Object)->login('1','**username**','**password**')
/**path**/fa/index.php:18:     include_once('/**path**/fa/includes/session.inc')

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(customers_app Object))
/**path**/fa/applications/customers.php:79:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:77:     (customers_app Object)->customers_app()
/**path**/fa/includes/session.inc:390:     (front_accounting Object)->init()
/**path**/fa/index.php:18:     include_once('/**path**/fa/includes/session.inc')

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(suppliers_app Object))
/**path**/fa/applications/suppliers.php:54:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:78:     (suppliers_app Object)->suppliers_app()
/**path**/fa/includes/session.inc:390:     (front_accounting Object)->init()
/**path**/fa/index.php:18:     include_once('/**path**/fa/includes/session.inc')

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(inventory_app Object))
/**path**/fa/applications/inventory.php:58:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:79:     (inventory_app Object)->inventory_app()
/**path**/fa/includes/session.inc:390:     (front_accounting Object)->init()
/**path**/fa/index.php:18:     include_once('/**path**/fa/includes/session.inc')

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(manufacturing_app Object))
/**path**/fa/applications/manufacturing.php:40:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:80:     (manufacturing_app Object)->manufacturing_app()
/**path**/fa/includes/session.inc:390:     (front_accounting Object)->init()
/**path**/fa/index.php:18:     include_once('/**path**/fa/includes/session.inc')

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(general_ledger_app Object))
/**path**/fa/applications/generalledger.php:78:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:82:     (general_ledger_app Object)->general_ledger_app()
/**path**/fa/includes/session.inc:390:     (front_accounting Object)->init()
/**path**/fa/index.php:18:     include_once('/**path**/fa/includes/session.inc')

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/frontaccounting.php:84:     hook_invoke_all('install_tabs',(front_accounting Object))
/**path**/fa/includes/session.inc:390:     (front_accounting Object)->init()
/**path**/fa/index.php:18:     include_once('/**path**/fa/includes/session.inc')

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(setup_app Object))
/**path**/fa/applications/setup.php:79:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:86:     (setup_app Object)->setup_app()
/**path**/fa/includes/session.inc:390:     (front_accounting Object)->init()
/**path**/fa/index.php:18:     include_once('/**path**/fa/includes/session.inc')

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(customers_app Object))
/**path**/fa/applications/customers.php:79:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:77:     (customers_app Object)->customers_app()
/**path**/fa/frontaccounting.php:61:     (front_accounting Object)->init()
/**path**/fa/index.php:25:     (front_accounting Object)->display()

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(suppliers_app Object))
/**path**/fa/applications/suppliers.php:54:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:78:     (suppliers_app Object)->suppliers_app()
/**path**/fa/frontaccounting.php:61:     (front_accounting Object)->init()
/**path**/fa/index.php:25:     (front_accounting Object)->display()

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(inventory_app Object))
/**path**/fa/applications/inventory.php:58:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:79:     (inventory_app Object)->inventory_app()
/**path**/fa/frontaccounting.php:61:     (front_accounting Object)->init()
/**path**/fa/index.php:25:     (front_accounting Object)->display()

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(manufacturing_app Object))
/**path**/fa/applications/manufacturing.php:40:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:80:     (manufacturing_app Object)->manufacturing_app()
/**path**/fa/frontaccounting.php:61:     (front_accounting Object)->init()
/**path**/fa/index.php:25:     (front_accounting Object)->display()

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(general_ledger_app Object))
/**path**/fa/applications/generalledger.php:78:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:82:     (general_ledger_app Object)->general_ledger_app()
/**path**/fa/frontaccounting.php:61:     (front_accounting Object)->init()
/**path**/fa/index.php:25:     (front_accounting Object)->display()

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/frontaccounting.php:84:     hook_invoke_all('install_tabs',(front_accounting Object))
/**path**/fa/frontaccounting.php:61:     (front_accounting Object)->init()
/**path**/fa/index.php:25:     (front_accounting Object)->display()

Undefined offset: 0 in file: /**path**/fa/includes/lang/gettext.php on line569
/**path**/fa/includes/hooks.inc:265:     set_ext_domain()
/**path**/fa/applications/application.php:140:     hook_invoke_all('install_options',(setup_app Object))
/**path**/fa/applications/setup.php:79:     (application Object)->add_extensions()
/**path**/fa/frontaccounting.php:86:     (setup_app Object)->setup_app()
/**path**/fa/frontaccounting.php:61:     (front_accounting Object)->init()
/**path**/fa/index.php:25:     (front_accounting Object)->display()

After this error it falls back on the error messages shown in my replies above.

Hope this helps!

34

(35 replies, posted in Translations)

First of all, I think it's still a great translation, although I did see a 'typo'. This translation makes sense in a accounting way of speaking. It's not a nonsense dictionary translation. Great job !!

About the php-file (I do use PoEdit, but couldn't find a way to create a new PHP file)

First thing I did is deleting lines 3-9. Because of the sess*-files bug, these lines are making the sess*-files not just big, but huge

    '' => 'Seems that system upgrade to version 2.1 has 
\t\t\tbeen performed for this company already.<br> If something has gone 
\t\t\twrong and you want to retry upgrade process you MUST perform 
\t\t\tdatabase restore from last backup file first.Het lijkt erop dat de system update naar versie 2.1 al 
is uitgevoerd voor deze administratie.<br>Als er iets mis is gegaan 
\t\ten u wilt het opnieuw proberen dan MOET 
eerst een database restore uitvoeren van de laatst werkende versie.',

Next error is line 75

    'Login timeout must be positive number not less than 10.' => 'De \', 

Next error is line 450

    'The Retained Earnings Account or the Profit and Loss Year Account has not been set in System and General GL Setup' => 'De rekening voor onverdeelde winst voorgaand boekjaar en/of winst huidig boekjaar is niet ingesteld in het menu \', 

Next error is line 743

    'You can edit directly only journal entries created via Journal Entry page.' => 'U kunt alleen de journaalposten wijzigen die zijn aangemaakt via het scherm \', 

Next error is line 1070

    'Deleting GRN items during invoice entry' => 'Verwijder regel \', 

Next error is line 1261

    'In case of no gettext support, php emulation is used' => 'In geval \', 

Next error is line 1281

    '\'%s\' file should be read-only' => '\'%s\' bestand moet \', 

Next error is line 1283

    '\'%s\' file should be read-only if you do not plan to add or change companies' => '\'%s\' bestand moet \', 

The final error is line 2824

    'Enter Valid until Date' => 'Geef een geldige \', 

35

(35 replies, posted in Translations)

There are some bugs in the translation php-file.
If the po-file says              Original 'text' | Originele 'tekst'
The according PHP line ends up like           'Original \'text\'' ==> 'Orginele \'
Wich will corrupt the following lines.

I've manual corrected the PHP file.

Besides of that .... the best FA-translation I've seen so far, kuddo's big time for Erwindebruin.

36

(35 replies, posted in Translations)

itronics wrote:

sledge,
Please look at your mailbox. You should receive patched file which solving the big session files problem.
Please test it and report whether the patch works for you or not.
Janusz


Janusz, I did ... and replied in this topic https://frontaccounting.com/punbb/viewtopic.php?id=2223

37

(35 replies, posted in Translations)

Today I've started on a fresh 2.3.9 installation. Too bad your language-file is not yet in the repository (still v2.3.0-3)
Are you willing to email me your translation ? That will be great !

More about the huge session-files can be found here https://frontaccounting.com/punbb/viewtopic.php?id=2223

Okay,

I'm running a fresh install (not a update/upgrade) of version 3.5.9 now, with the latest Dutch language file as default.

**1** Not only the huge amount of big sess*-files are a problem, because of them the PHP memory_limit is a bitch too. I've had to set it manually to 256M (Nope, 128 was not enough).

**2** The first translation in /FA/lang/nl_NL/LC_MESSAGES/nl_NL-2.3.0-3.php is

    '' => 'Seems that system upgrade to version 2.1 has 
\t\t\tbeen performed for this company already.<br> If something has gone 
\t\t\twrong and you want to retry upgrade process you MUST perform 
\t\t\tdatabase restore from last backup file first.Het lijkt erop dat systeem upgrade naar versie 2.1
\t\t\treeds is uitgevoerd voor dit bedrijf.<br> Als er iets is misgegaan en u 
\t\t\twilt het opnieuw proberen MOET u eerst de database herstellen van de 
\t\t\tlaatste veiligheidskopie.',

It looks to me as an translation-bug. If not, by now people should have upgraded from v2.1. Anyway, this text is causing the sess*-files to grow even much bigger. I've deleted this line from my language file.

**3** I've tested the file you've mailed me again.
With debug set to 0, I'm only getting empty pages, with an empty source too, so no output at all
With debug set to 1 or 2, I'm getting this error message "PHP Fatal error:  Call to a member function has_key() on a non-object in /**path**/includes/lang/gettext.php on line 404"
But .... the sess*-files are pretty small.

Janusz,

First of all, no problem for contacting me directly.
I'll reply here, because the discussion might be interesting for you never know who.

However, I've installed your file and the info I can give you is short and simple .... all and every page give the same error
"Fatal error: Call to a member function has_key() on a non-object in /**path**/includes/lang/gettext.php on line 404"

I've closed the fiscal year 2011 this morning. Not a real big job. Within a hour there was the tmp-folder >700 MB (!!!)

Anyway, I recieved a notifiaction about this topic, but didn't see any files in my inbox.(*)
It might be needfull knowing I'm running version 2.3.5 right now with the most updated Dutch and Belgium language files.

I'm thinking about updating soon to 2.3.9 because of the 100% transalation erwindebruin made ( https://frontaccounting.com/punbb/viewtopic.php?id=1707 ). Problem is that the layout of the invoice is changed again in the new version and it is no fun tweaking this again.


(*) Update: I've found the mail in my junk folder. I'll give it a try.

41

(35 replies, posted in Translations)

@ Erwin: Great work ! I'll try it as soon as it appears online.
At the moment I'm having huge problems with enormous sess*-files in the '/tmp'-folder (like hunderds of files from 4 tot 16 MB !!). It seems to be coming from a (outdated) language-file, both Dutch als Belgium.

Any idea if this 'bug' is solved in your version ?

This might be due your language-file.
I have the same problems using other languages.

Try to switch to english and watch your sess*-files

This might be due your language-file.
I have the same problems using other languages.

Try to switch to english and watch your sess*-files