Support Forums - Classified Ads Script Osclass

General osclass questions => Report bug => Topic started by: ungars on October 28, 2023, 06:38:28 PM

Title: Impossible to install a new language
Post by: ungars on October 28, 2023, 06:38:28 PM
  Hi, I would like to install the French translation, but I don' t arrive.

-> I go to International -> Language and download the Zip I download  . I have this error : There was a problem adding the language

-> I try with market -> language. I have this error : Unzip failed

  My website is on localhost, I use Wampserver


  Thank you so much for your help, Nice Sunday.
Title: Re: Impossible to install a new language
Post by: MB Themes on October 29, 2023, 12:47:19 PM
Download to your desktop, unzip,zip again and upload to your Osclass.
Title: Re: Impossible to install a new language
Post by: ungars on October 31, 2023, 09:09:27 PM
  Thank you for your answer. I did, but now if I do that I have a fatal error :

(https://www.cjoint.com/doc/23_10/MJFuhg5bxQd_errwamp.png)

  I tryed to check the table of my data base, as advice on Wampserver forum, without success
Title: Re: Impossible to install a new language
Post by: MB Themes on November 04, 2023, 10:34:18 AM
Does not look like you did, but if yes its something with your localhost (most probably insufficient permissions in folders)
Title: Re: Impossible to install a new language
Post by: ungars on November 04, 2023, 05:00:03 PM
In which folders ? I had all permissions to all users on the folders in the error message C:\wamp64\www\osclass\oc-includes\osclass\utils.php, the problem is not solved.

   Is it not an other way to install an other language ?

  I install the folder fr-FR on oc-contents / languages but it doesn't appear on international / language

  Thank you for your help.
Title: Re: Impossible to install a new language
Post by: MB Themes on November 05, 2023, 07:09:03 AM
oc-content/languages/

You can also manually extract it there.
Title: Re: Impossible to install a new language
Post by: ungars on November 05, 2023, 07:40:05 AM
  I install there all the folders I unzip ?

  Because I installed only the folder fr-FR and that don' t work, my language don't appear anywhere.

  Thank you, have a nice day.

  Edit : I tryed also to unzip all the folders on oc-contents/language, French language don't appear on international / languages . Thank you.
Title: Re: Impossible to install a new language
Post by: MB Themes on November 06, 2023, 08:12:00 PM
There is no fr-FR folder, just fr_FR, so you should have path ../languages/fr_FR/
in fr_FR there are .po and .mo files.
Title: Re: Impossible to install a new language
Post by: ungars on November 06, 2023, 11:05:43 PM
I put fr_FR repertory (sorry not a folder as I told you) on /languages/fr_FR, as you can see there : https://www.cjoint.com/c/MKgwbF6qHVd

  I can' t select French language anywhere on my back office.

  Thank you for your help.
Title: Re: Impossible to install a new language
Post by: MB Themes on November 07, 2023, 05:42:25 PM
What you have inside fr_FR?
Title: Re: Impossible to install a new language
Post by: ungars on November 07, 2023, 06:36:57 PM
Here is what is inside f-_FR : https://www.cjoint.com/c/MKhrDV023ud

I use wampserver, but I put a copy of osclass here : https://ahpc-energie.fr/osclass/
I have the same problem there, except I have a blank page rather the fatal error when I try to install my language at international -> language.

I can give you an access to admin panel if you want .

Thank you.
Title: Re: Impossible to install a new language
Post by: MB Themes on November 07, 2023, 08:53:40 PM
All looks correct and language should be auto-picked and added to languages list.
You may enable PHP error logging and check logs for possible errors.
Title: Re: Impossible to install a new language
Post by: ungars on November 07, 2023, 09:49:51 PM
I activated Error log in my config.php, saw it' s activated also on Tools / debugs error logs.

I read logs will appear on oc-contents folders.

I tryed again to install my language, nothing appears on logs.

Thank you.
Title: Re: Impossible to install a new language
Post by: MB Themes on November 07, 2023, 10:11:41 PM
Can you PM oc-admin login and FTP login to Osclass folder?