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

Newbie

  • ***
  • 68 posts
How to change to RTL Delta theme?
« on: September 14, 2022, 02:27:48 AM »
Hi, I bought the Delta theme, I already translated it into my language (RTL), but the site configuration hasn't changed and the LTR remains the same. Do I need to do something else, maybe press some button? (the site is on the local computer).

*

MB Themes

Re: How to change to RTL Delta theme?
« Reply #1 on: September 14, 2022, 07:05:05 AM »
When RTL language is activated, it automatically switch to rtl.
You can hardcode this by updating delta_is_rtl function
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Newbie

  • ***
  • 68 posts
Re: How to change to RTL Delta theme?
« Reply #2 on: September 14, 2022, 08:34:47 AM »
How and in which file to do it?

*

MB Themes

Re: How to change to RTL Delta theme?
« Reply #3 on: September 14, 2022, 08:48:19 AM »
@Newbie
You should follow first part - add RTL language and use this language. If you are trying to somehow mask English with your translations, that is very wrong way.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Newbie

  • ***
  • 68 posts
Re: How to change to RTL Delta theme?
« Reply #4 on: September 14, 2022, 06:38:40 PM »
Not at all, I did not try to hide the English language, but when I put the file of my (RTL) language into the languages, when I translated it, everything was translated, but the theme configuration, that is, the direction, remained the same as in the LTR language. But there really is no mention of English, only my language, but without a flag and in English for some reason.
Did you mention the delta_is_rtl function where should I insert it?

*

Newbie

  • ***
  • 68 posts
Re: How to change to RTL Delta theme?
« Reply #5 on: September 16, 2022, 09:15:52 AM »
?

*

MB Themes

Re: How to change to RTL Delta theme?
« Reply #6 on: September 16, 2022, 02:13:12 PM »
Have you set this language as RTL in lang settings? You might use language codes not recognized by theme.
Rtl function is in theme functions.php, most probably delta_is_rtl()
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Newbie

  • ***
  • 68 posts
Re: How to change to RTL Delta theme?
« Reply #7 on: September 17, 2022, 08:12:18 PM »
"Have you set this language as RTL in lang settings?" If you mean General->Language->management Language->RTL language (direction), so yes that what I did, it's not my first Theme before it I translated Alfa theme (and before it a lot of things) , but desided that Delta theme it's beter for this project.
Those my steps: first  I installed the Delta theme , translated it in POEDITE the .po file, created he_HE file with .po. and .mo files, I inserted it in fille of languages where was and still exist en_US file..
There is a code in the picture and I wanted to know where in this code I need to change something so that everything works out?
I also discovered something in the code that seemed to me to be a mistake, I marked it in red.

*

MB Themes

Re: How to change to RTL Delta theme?
« Reply #8 on: September 18, 2022, 11:11:53 AM »
You have that function printed, set it always to true.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Marked as best answer by frosticek on September 19, 2022, 09:13:21 PM
*

Newbie

  • ***
  • 68 posts
Re: How to change to RTL Delta theme?
« Reply #9 on: September 19, 2022, 07:34:11 PM »
Ok it's works. Thanks.

*

MB Themes

Re: How to change to RTL Delta theme?
« Reply #10 on: September 19, 2022, 09:13:18 PM »
Cool  ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Newbie

  • ***
  • 68 posts
Re: How to change to RTL Delta theme?
« Reply #11 on: September 19, 2022, 11:42:56 PM »
Yes, but you know the flag no appeared, can I manually inserted it somehow?

*

MB Themes

Re: How to change to RTL Delta theme?
« Reply #12 on: September 20, 2022, 07:28:04 AM »
Country flag? If you used custom code you must upload your image to location where it is missing
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Newbie

  • ***
  • 68 posts
Re: How to change to RTL Delta theme?
« Reply #13 on: September 22, 2022, 02:39:50 AM »
I use osclass 8.0.2 and Delta theme ;) I tried to find where I can to upload the flag and did not find the place. I need to do it in admin panel or in the same code of Delta theme?

*

MB Themes

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