This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

ungars

Impossible to install a new language
« 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.

*

MB Themes

Re: Impossible to install a new language
« Reply #1 on: October 29, 2023, 12:47:19 PM »
Download to your desktop, unzip,zip again and upload to your Osclass.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ungars

Re: Impossible to install a new language
« Reply #2 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 :



  I tryed to check the table of my data base, as advice on Wampserver forum, without success

*

MB Themes

Re: Impossible to install a new language
« Reply #3 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)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ungars

Re: Impossible to install a new language
« Reply #4 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.

*

MB Themes

Re: Impossible to install a new language
« Reply #5 on: November 05, 2023, 07:09:03 AM »
oc-content/languages/

You can also manually extract it there.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ungars

Re: Impossible to install a new language
« Reply #6 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.
« Last Edit: November 05, 2023, 06:14:22 PM by ungars »

Marked as best answer by on Today at 12:27:01 PM
*

MB Themes

  • Undo Best Answer
  • Re: Impossible to install a new language
    « Reply #7 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.
      To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

    *

    ungars

    Re: Impossible to install a new language
    « Reply #8 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.

    *

    MB Themes

    Re: Impossible to install a new language
    « Reply #9 on: November 07, 2023, 05:42:25 PM »
    What you have inside fr_FR?
      To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

    *

    ungars

    Re: Impossible to install a new language
    « Reply #10 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.

    *

    MB Themes

    Re: Impossible to install a new language
    « Reply #11 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.
      To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

    *

    ungars

    Re: Impossible to install a new language
    « Reply #12 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.

    *

    MB Themes

    Re: Impossible to install a new language
    « Reply #13 on: November 07, 2023, 10:11:41 PM »
    Can you PM oc-admin login and FTP login to Osclass folder?
      To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots