Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSClass category translation issue after move hosting #2100

Closed
bAnDiTu opened this issue Jan 3, 2017 · 8 comments
Closed

OSClass category translation issue after move hosting #2100

bAnDiTu opened this issue Jan 3, 2017 · 8 comments

Comments

@bAnDiTu
Copy link

bAnDiTu commented Jan 3, 2017

Hello,

I have a problem with category translation this is set to english and not translated to my language in my case Romanian.
I see a solution on OsClass forum and this is in the file:
oc-includes\osclass\model\Category.php after line 132 we need to add:
$this->dao->where(sprintf("b.fk_c_locale_code = '%s'", $this->dao->connId->real_escape_string(osc_current_user_locale()) ) );

I want to solve this issue because after an upgrade i don't want to need edit this file again.

Thank you!

@conejoninja
Copy link
Member

We'll need more information to be able to reproduce this issue. Moving to another hosting shouldn't be a problem if you moved your databases too,as the information should be the same.

Could you please specify in more detail what did you do and what's the problem exactly?

@bAnDiTu
Copy link
Author

bAnDiTu commented Jan 3, 2017

Yes, try to move the files and database to another host and see this problem, but set the language to other than English before backup the filles and move.

This is not the first time when i move my website to another server and i have this problem.

@conejoninja
Copy link
Member

I still don't understand your issue. Are the name of the categories not translated? Did you previously translated? Which thread in the forum are you talking about?

@bAnDiTu
Copy link
Author

bAnDiTu commented Jan 3, 2017

The categoryes and subcategoryes from everywhere it's not translated. I not translated it manualy it is translated by anyone. And for subcategoryes i not have a fix, if i go on main category my sub categoryes is not translated.
See here http://lamobil.ro/anunturi-vehicule.html

The forum where i found this fix is: http://forums.osclass.org/modern/categories-translation/

@conejoninja
Copy link
Member

same as #1794

@bAnDiTu
Copy link
Author

bAnDiTu commented Jan 3, 2017

Yes, sorry.

@groomain
Copy link
Contributor

groomain commented Jan 3, 2017

Probably same as #2034 too.
It's coming from Maria DB :)

@arnaudknobloch
Copy link

I there, I have the same problem with category translation (in my case Albanian). I'm not using MariaDB. It's a clean install on a LAMP server Ubuntu 16.04. What can I do? (I don't want to start to editing the core files...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants