WordPress.org

Forums

qTranslate
[resolved] RTL Support not working (11 posts)

  1. hamutalwz
    Member
    Posted 1 year ago #

    Hi,
    I've installed the latest version and set Hebrew as a second language.
    I have also created a RTL.css file in my theme's directory however, when I select the Hebrew language from the language selector, it shows the translation content all right but it does not change the page layout to be RTL.
    what should I do?
    Thank you.

    http://wordpress.org/plugins/qtranslate/

  2. krembo99
    Member
    Posted 1 year ago #

    rtl support for qtranslate is working without a problem as far as I can tell. I have used it on hundreds of times, in many languages ( including hebrew, arab, chinese, persian etc ..)

    It seems like you have some other kind of problem, which is theme related and not qtranslate .

    First , have you tried to rename your file to rtl.css ? also, where did you put this file ?

  3. hamutalwz
    Member
    Posted 1 year ago #

    I did name it rtl.css and it's in my child theme directory.
    Should it be on the main theme directory?
    Thanks.

  4. hamutalwz
    Member
    Posted 1 year ago #

    it seems the page is loaded as lang=en even when I'm in a Hebrew page.
    I see the tag <html lang="en"> although the url has the Hebrew language selector in it.
    You can see it here: http://www.fansassist.com/blog/?lang=he

  5. hamutalwz
    Member
    Posted 1 year ago #

    got it! sorry, I was missing the @import url("rtl.css") statement.
    thanks!

  6. hamutalwz
    Member
    Posted 1 year ago #

    it seems it was a bit premature to set this issue as resolved.
    now the entire site is always RTL even when in English language.
    what am I missing?
    thanks!

  7. candy2012
    Member
    Posted 1 year ago #

    why did you mark this as "resolved" !?!?
    There's no answer to your last questions here and I have issues with the rtl support as well! Only the text (page contents) works the rest is all messed up

  8. hamutalwz
    Member
    Posted 1 year ago #

    I said it was premature to mark this as resolved.
    I've opened a new issue in this matter.
    at the moment, I resolved the issue by enqueuing the rtl.css in my functions.php file but I'm not sure if this is the right way.
    I would expect the plugin to do it.

  9. krembo99
    Member
    Posted 1 year ago #

    In most likelihood the problem is in your theme and not the qTranslate plugin. I have used this plugin in over 200 installations - and never a glitch ..

  10. issy_ib_90
    Member
    Posted 1 year ago #

    Same problem here! I even switched to the default themes which actually support rtl but when I switch the language using qTranslate it doesn't work:\
    please help!

  11. hssina
    Member
    Posted 6 months ago #

    Hi!
    I have the some problem, I used 2 languages ( English/Arabic) and I created the .po & .mo files and the rtl.css file for arabic language and the translation works fine but the problem is with css part when the user switch to arabic version the default style applied (style.css) and I changed rtl.css file to an other directory ( ../css) and it works but now the entire site is always RTL even when in English language can you help please?

    Thanks,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • qTranslate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags