qtranslate with 3.9.1

Discussion in 'BlackBird WordPress Theme' started by sotb0rlando, Jun 4, 2014.

Thread Status:
Not open for further replies.
  1. sotb0rlando

    sotb0rlando Member

    Joined:
    Dec 9, 2012
    Messages:
    76
    Likes Received:
    1
    Location:
    Orlando
    Hello I am trying to make one of our sites multilingual. However am as you guessed it having some problems. I have followed the instructions on this link http://www.inkthemes.com/how-to-translate-your-wordpress-website-using-qtranslate-plugin/01/ . The install went well and the settings for the two languages of en and es went well, the widget went well. However when I entered the following test text in the Home Page Settings => Featured Text Heading it shows both texts.

    <!–:en–>Hello this is some sample text. To test the new plugin.<!–:–>
    <!–:es–>Hola, este es un texto para la prueba del nuevo plugin.<!–:–>

    And then when I use this code to replace the read more on the front-page.php just as a test it breaks the whole page. (White Screen) <?php _e(“<!–:en–>english text<!–:–><!–:sv–>german text<!–:–>”); ?>

    And when I go to a page I get the following error.
    The qTranslate Editor has disabled itself because it hasn't been tested with your Wordpress version yet. This is done to prevent Wordpress from malfunctioning. You can reenable it by clicking here (may cause data loss! Use at own risk!). To remove this message permanently, please update qTranslate to the corresponding version.

    Thanks Jeff




     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
  3. sotb0rlando

    sotb0rlando Member

    Joined:
    Dec 9, 2012
    Messages:
    76
    Likes Received:
    1
    Location:
    Orlando
    Thank you for the quick response. That fixed the issue with the page entry. However the two issues above that with updating the front-page.php and updating the theme options still are not working. Can you help me with those?
     
  4. sotb0rlando

    sotb0rlando Member

    Joined:
    Dec 9, 2012
    Messages:
    76
    Likes Received:
    1
    Location:
    Orlando
    This code worked for the in page translations, I am not sure why the other code didn't work.

    <?php _e("<!--:en-->Read More<!--:--><!--:es-->Leer Más<!--:-->"); ?>
     
  5. sotb0rlando

    sotb0rlando Member

    Joined:
    Dec 9, 2012
    Messages:
    76
    Likes Received:
    1
    Location:
    Orlando
    I still have not been able to get translations to work in the theme options sections of the site. This is the last thing I need to have the site completely bi lingual. I have figured out the menu, widgets and site content. Just need to figure out the theme options.
     
  6. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    It is not possible to translate theme option panel by any plugin, you have to translate it manually from "theme-option.php" file.


    Thanks & Regards
    Gourav Shrivastava
     
  7. sotb0rlando

    sotb0rlando Member

    Joined:
    Dec 9, 2012
    Messages:
    76
    Likes Received:
    1
    Location:
    Orlando
    Ok I guess I am not being clear. I will try to be more accurate. I want to replace the text from the default item in the theme (attached image sample1.png) with the following two languages text in accordance with the steps outlined in the following link http://www.inkthemes.com/how-to-translate-your-wordpress-website-using-qtranslate-plugin/01/ (attached image sample2.png):

    <!–:en–>Hello this is some sample text. To test the new plugin.<!–:–>
    <!–:es–>Hola, este es un texto para la prueba del nuevo plugin.<!–:–>

    However when I do this both sets of text show up on the home screen (attached image sample3.png).

    Am I missing a step to the qtranslate documentation on the url.
     

    Attached Files:

  8. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Jeff,

    Please use format given below.

    <!--:en-->Hello this is some sample text. To test the new plugin.<!--:-->
    <!--:es-->Hola, este es un texto para la prueba del nuevo plugin.<!--:-->

    I hope it will work.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  9. sotb0rlando

    sotb0rlando Member

    Joined:
    Dec 9, 2012
    Messages:
    76
    Likes Received:
    1
    Location:
    Orlando
    Nitesh,

    That worked perfectly. It was the context of the double dashes that made the difference. Thank you for all your support from you and your team.
     
    Nitesh likes this.
Thread Status:
Not open for further replies.

Share This Page