How to get the error in french ?

See all posts Reply

How to get the error in french ? new!
by Donadieu, 12 years, 11 months ago
Hello,
I use version 0.29 and try unsuccessfully to activate the franch translation of error messages.
I do multiple upload (3) and it woks fine.
But when i try to test my upload with wrong type of document i always get englih erros messages instaed of french one...
i spend lot of time ont his without understand why.

foreach ($files as $file) {
  // we instanciate the class for each element of $file
  //$handle = new Upload($file); // message in english
  $handle = new Upload($files, 'fr_FR');

with this statement i get the following error :
Notice: Undefined index: error in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2475
Notice: Undefined index: tmp_name in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2516
Notice: Undefined index: name in C:\wamp\www\ebroks\include\class\upload\class.upload.php on line 2517

thank you for your answer.

regardsReply
Re: How to get the error in french ? new!
by colin, 12 years, 11 months ago
What does the log of the class say?Reply
Re: How to get the error in french ? new!
by vad, 12 years, 10 months ago
just all languages files must be in 'lang' folder in same folder with 'class.upload.php" !Reply