• Resolved bruno1971

    (@bruno1971)


    Hello,

    I really need your help here.

    I’m using the latest WP and the latest Qtranslate plugin.

    I need two languages on the website – Czech and Engish.

    First of all – when I create a new page, sometimes it stays in one language only, even when I fill in the page title and some text in both languages.

    And the second – I need to have a language switcher in the header, so I’ve made it this way:

    <!--Add this section to view qTranslate Languages Menu at Header. By Alberto Gamboa-->
    
    <div style="float:right; padding-top: 10px;">
    	<a href="./?lang=cz" class="default" title="Czech">
    	<span style= "font-size:14px">CZ</span></a>
    	<a href="./?lang=en" class="default" title="English">
    	<span style= "font-size:14px">  EN</span></a>
    </div>
    
    <!--End of Special Section for qtranslate-->

    But instead of switching to the proper language via pre-path (Default, puts /en/ or /cs/ in front of URL), it adds ?lang=cz to the URL but the language does not change.

    I had this site already up and running as multisite with Qtranslate some time ago and it was working perfectly OK. Then it got hacked. I’m basically reinstalling everything from the scratch – this time as a single site – which should be OK for Qtranslate.

    What am I doing wrong?

    Your help is much appreciated. Thank you.

    David

    I cannot put a link to the site as it is blocked due to that hacker attack, except for my IP, sorry.

    https://ww.wp.xz.cn/plugins/qtranslate-x/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author John Clause

    (@johnclause)

    Do you still have problems with version qTranslate-X 2.8?

    Thread Starter bruno1971

    (@bruno1971)

    Unfortunately, not at all.

    I don’t know what am I doing wrong. Couple of months ago I had it working like a charm and now I can’t get it work.

    First of all I need to have a language switcher in the header, take a look here:

    http://arlifts.cz

    I cannot even translate pages properly – I’ve got two languages – English and Czech, using Avada WP theme. When I try to make two versions of the page it always goes back to the default language when I hit a save button. The theme uses Fusion Builder for the page elements – maybe this isn’t compatible with qTranslate, I don’t know.

    After many hours of trying I will have to create a network and go for multisite which I did not want to. I had it set up as multisite last time – it somehow worked with qTranslate although this plugin should not require multisite, right?

    I’m totally lost in translation now. 🙂

    Plugin Author John Clause

    (@johnclause)

    I am not sure either. It looks to me that you try to switch language, but language is not enabled in the configuration. I cannot tell, unless I can login.

    >Couple of months ago
    qTranslate-X did not exist 2 months ago. Which plugin do you mean worked for you?

    Thread Starter bruno1971

    (@bruno1971)

    I will gladly send you login if you can help me. 🙂

    Where to send it?

    Back then I was using the original qTranslate plugin.

    Plugin Author John Clause

    (@johnclause)

    You can send it to: qtranslateteam at g ma il d c om Thnks.

    Plugin Author John Clause

    (@johnclause)

    I did not know what Fusion Builder is, but now I see, and no, it is not compatible with qTranslate-X. Was it working with the original qTranslate?
    The theme does not seem to translate menu, for example. Again, are you saying that it was working with old qTranslate? Did you use the same theme couple of month ago when it was working? I can try to make them compatible, if you can wait for a couple of weeks or so. I also saw you tried Polylang, what was wrong with it if anything?

    Plugin Author John Clause

    (@johnclause)

    Hold on, I have just discovered something after I tried qTranslate-X’s Language Switcher menu. language code is “cs” and not “cz”. Now it switches languages at least.

    Plugin Author John Clause

    (@johnclause)

    Hi @bruno1971, I interpret your silence as “problem resolved”. Let me know if you need more help.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Switching language’ is closed to new replies.