Osclass Language class issue ?
« on: March 23, 2022, 09:15:03 PM »

Hello osclass family!
I needed to use osclass for a project.
But I had some problems with language files. I want to share my problems with you.
1- I made the system completely in Turkish on the administration page. The following picture shows the settings I made.


2- As can be seen in the picture below, the admin theme has been changed to Turkish.


But the Admin login language continued to be English. It is shown in the picture below.



I couldn't fix this problem. I basically know php language. Please help me. Thanks in advance for your help.

Note: My language expression may be poor. I'm sorry for that.

*

MB Themes

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Osclass Language class issue ?
« Reply #2 on: March 25, 2022, 02:43:47 PM »


Hello MBThemes,
First of all, thank you for helping. I have already read the guide in the link you sent. But the answer to my question is not in that article.
   Let me edit the core.pot file, although I did all the translations, my translations are not only reflected on the admin login page.

I think the source of the problem is that the language class of the osclass system could not be included in the relevant page. But I don't know how to do?

thanks

*

MB Themes

Re: Osclass Language class issue ?
« Reply #3 on: March 27, 2022, 09:04:49 AM »
Pot file is template, you use it to create po & mo, or you translate po directly if available.
Core, message, theme, active theme and all plugins must be translated
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Osclass Language class issue ?
« Reply #4 on: April 02, 2022, 03:51:04 PM »
I did not fully explain the problem. Actually, I know the cause of the problem. But I don't know how to solve it as coding.
I want to tell about @MB Themes
I have translated .po and .mo files into Turkish before. Everything is OK.
However, although language changes are reflected everywhere, they are not reflected in the admin login page.
First of all, I think there is a problem with the code lines of the following files in the gui.

As a result, when I examine in detail
oc-admin/themes/omega/gui/forgot_password.php
oc-admin/themes/omega/gui/login.php
oc-admin/themes/omega/gui/recover.php

Moreover
oc-admin/login.php

I examined the code lines of these files in detail and could not find a problem.

What do you think could be the source of the problem?
Is it possible for me to automatically change the language of the login screen to English even though I have selected the language from the administration panel as Turkish?
If so, how can I change it?

Thanks

*

MB Themes

Re: Osclass Language class issue ?
« Reply #5 on: April 02, 2022, 05:12:16 PM »
Check core translations.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots