Close

Account

Documentation

Forum

Menu

How to manage two languages

  • Post count: 8
    wissal-kh
    November 7, 2018 at 6:48 pm #39115

    Hello,

    I really like your theme, I bought it and I will use the theme on multilangual website (using polylang plugin) with french and arabic version, I need some help for that please.

    1-I want to know how can I activate RTL in the arabic homepage?
    2-I have two logos one in french and one in arabic, I also want to use white version of these logos in mobile version. I see no option to manage two logos so I guess I need to change it directly in code, can you plz tell me where is the php script to do these modifications plz
    3-Just to make sure, these modifications I will add to code and css, will they get overwritten after theme update?

    Thank you.

    Post count: 682
    Ferdy
    November 8, 2018 at 12:20 pm #39128

    Hi wissal-kh,

    1. For the RTL, You can check this article to configure your polylang (https://polylang.pro/doc/configure-the-languages/)

    2. Unfortunately, at the moment, we don’t have that kind of feature. At the moment, to achieve your need please add this code below to the functions.php file and change the language locale (en_US) to what you want:

    3. in this case, I recommend you to use child-theme. please check on this article http://support.jegtheme.com/documentation/child-theme-3/

    Let me know if you have further question.

    Thank you

    Post count: 8
    wissal-kh
    November 14, 2018 at 6:06 pm #39347

    Thanks for your reply.
    About question 1, I wasn’t asking about polylang, I already have it activated and it is working fine, what I need is to activate rtl mode , like in the demo, but only one one home page (’cause I have two homepages one per language)
    How can I do that?

    Post count: 682
    Ferdy
    November 15, 2018 at 10:40 am #39367

    Hi wissal-kh,

    As my partner side, You can check this article to configure your polylang (https://polylang.pro/doc/configure-the-languages/). please go to Dashboard > languages, choose your language, set the text decoration option. Please check on my screenshot for the detail. Let me know if you have further question.

    Thank you

    Post count: 8
    wissal-kh
    November 15, 2018 at 7:33 pm #39384
    This reply has been marked as private.
    Post count: 8
    wissal-kh
    November 15, 2018 at 7:37 pm #39385

    I also have another issue, the last module on that page (videos/ module Hero jnews7) is displayed on full width but i want it to be displayed as the rest of the page

    Post count: 8
    wissal-kh
    November 15, 2018 at 7:43 pm #39386

    Another question, how can I replicate this video module as in the screenshot below
    https://ibb.co/jSXAef

    Post count: 8
    wissal-kh
    November 15, 2018 at 11:48 pm #39393
    This reply has been marked as private.
    Post count: 10896
    Adek
    November 16, 2018 at 10:12 am #39413

    Hi wissal-kh,

    1. For the widget issue, it seems you need to do some changes in there. To make the sidebar show up after the main content you can use CSS code. Please put the sidebar into the right side and the main content on the left side. I will provide you with some custom CSS code. Also, it would be better if you can insert classname into the sidebar and main content column wrapper.

    2. About the last module, can you tell me what you mean with display as the rest of the page? In this case, it seems i need to do further checking on that page. Can you provide me login access to your website? You can send it here and don’t forget to check Set as the private reply option

    3. For the video, you can use the JNews Video Playlist element. Do you need a help to setup the element?

    Thank you

    Post count: 8
    wissal-kh
    November 16, 2018 at 7:00 pm #39436
    This reply has been marked as private.
    Post count: 682
    Ferdy
    November 19, 2018 at 12:34 pm #39469

    Hi wissal-kh,

    1. I’ve been fixing the issue, in this case, you need to set the sidebar on the right and you need to add jeg_sidebar_left CSS class to the column as a sidebar.

    2. Please check Stretching the row option on the row section. i recommend to select by default or scratch the row.

    3. please check the Video Playlist Layout option on the JNews – Video Playlist element. if you want to set the video playlist like in this screenshot https://ibb.co/jSXAef you need to use vertical layout.

    Let us know if you have further question.

    Thank you

    Post count: 8
    wissal-kh
    November 19, 2018 at 5:27 pm #39489

    Thank you so much.

    1.It’s working fine. Just to make sure,since I dont have a child theme, won’t your fix for the issue be overriden at next theme update?
    2. The row is on default

    Post count: 8
    wissal-kh
    November 19, 2018 at 5:33 pm #39492

    I have another issue which is very bothering, it’s when adding or editing a new post , in the editor we have a “sidebar” visible like in the picture below which prevent us from seeing the text we are typing

    https://ibb.co/jhCEh0

    Post count: 682
    Ferdy
    November 21, 2018 at 10:24 am #39524

    Hi wissal-kh,

    1. the change doesn’t modify the theme file, it’s the only CSS issue. So, don’t worry about the theme update.

    2. Can you set the element that you want on your site? So, we can investigate your issue.

    3. in this case, please go to wp-content/themes/jnews/class/Init.php, jump onto line 248 and then please change load_admin_style function with this code below :

    Thank you

You must be logged in to reply to this topic.