Osclass forums

Support forums => General help => 3.7.x => Topic started by: al on November 04, 2017, 10:09:55 pm

Title: [SOLVED] How to translate category
Post by: al on November 04, 2017, 10:09:55 pm
Hi,

I can't translate category. Only english version is taken.

See pictures below.

Default language is French.
So, how can I translate categories ?

Thanks
Title: Re: How to translate category
Post by: teseo on November 05, 2017, 01:41:15 pm
Hi,

That looks like a known bug when you're running MariaDB (maybe MySQL 5.7 as well? ???).

There' s an official fix still on develop stage, make a backup of your oc-includes/osclass/model/Category.php and replace its contents with this code:

https://raw.githubusercontent.com/osclass/Osclass/4a4d05059f3bc6c531fe1b03c33dc41b52e08b28/oc-includes/osclass/model/Category.php

Regards
Title: Re: How to translate category
Post by: al on November 06, 2017, 11:54:38 pm
Hi,

That looks like a known bug when you're running MariaDB (maybe MySQL 5.7 as well? ???).

There' s an official fix still on develop stage, make a backup of your oc-includes/osclass/model/Category.php and replace its contents with this code:

https://raw.githubusercontent.com/osclass/Osclass/4a4d05059f3bc6c531fe1b03c33dc41b52e08b28/oc-includes/osclass/model/Category.php

Regards

It works. thanks Teseo
How can I mark your response as best answer ?
Title: Re: [SOLVED] How to translate category
Post by: teseo on November 09, 2017, 02:46:34 pm
You're welcome. :)

"SOLVED" in the title of this thread is fine, there's no "Best answer" mechanism here.

Regards