WordPress.org

Support

Support » Plugins and Hacks » qTranslate not yet ready for the new version of WP

qTranslate not yet ready for the new version of WP

  • rafvorsselmans
    Member

    @rafvorsselmans

    I Keep getting these 2 exactly the same notifications on the top of every post I made, about qTranslate being disabled because it is not tested with this new version of WordPress. I have the option to enable it on my own risk. But when I do so, I get al the installed input fields for every language double …

    So I downgraded wordpress to wait until qTranslate is ready for WP 3.3.2

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • ivan.flores
    Member

    @ivanflores-1

    Yeap, I have the same problem.

    What is the method you use to downgrade WordPress?

    Thank you.

    You may try to upload (via FTP) in your installation the development version, it is here, at the bottom of the page:::
    http://wordpress.org/extend/plugins/qtranslate/download/

    In my Sites works without any problem.

    You could also manually change the affected qTranslate file, as described here: http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=3240#p10666 .

    As zhenya said, the development version (v 2.5.29b) already takes care of this: http://plugins.trac.wordpress.org/changeset?reponame=&new=534439%40qtranslate&old=500157%40qtranslate

    eruna_msl
    Member

    @eruna_msl

    I ran into this problem So I am adding custom fields for the Spanish Content and switching it in the functions file. (See below)

    Only problem is I can’t get the title to work right.

    Here is my forum question about this issue:
    http://wordpress.org/support/topic/adding-filter-to-the-title?replies=1

    //spanish content
    
    if(find_language()=='es'){
    	add_filter('the_content','spanish_content');
    	add_filter('the_title','spanish_title');
    }
    
    function find_language(){
    if($_GET['lan']=='es'){
     	setcookie("lantnd", 'es', time()+3600, "/", str_replace('http://www','',get_bloginfo('url')) );
     	$lan='es';
     	//echo __LINE__;
     }
     else if($_GET['lan']=='en'){
     	setcookie("lantnd", 'en', time()+3600, "/", str_replace('http://www','',get_bloginfo('url')) );
     	$lan='en';//echo __LINE__;
     }
     else if($_COOKIE['lantnd']=='en'){
     	$lan='en';//echo __LINE__;
     }
     else if($_COOKIE['lantnd']=='es'){
     	$lan='es';//echo __LINE__;
     }
      else {
     	$lan='en';//echo __LINE__;
     	//echo "COOKIE "; print_r($_COOKIE);
     }
    
    return $lan;
    
    }
    
    function spanish_content($content){
    	global $post;
    
    	$spanish=get_post_meta(get_the_id(), 'spanish_content');
    	$span= $spanish[0];
    	if(!$span){
    		$span='<p><em>Spanish translation is not available.</em></p>'.$content;
    	}
    	return $span;
    
    }
    
    function spanish_title($title){
    
    	$spanish=get_post_meta(get_the_id(), 'spanish_title');
    	$span= $spanish[0];
    	if(strlen($span)<1){
    		return $title;
    	}
    	return $span;
    
    }
    ivan.flores
    Member

    @ivanflores-1

    I just installed the development version and seems all is working fine.

    Thank you for the advice.

    @eruna_msl I just respond your question on the link you posted.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘qTranslate not yet ready for the new version of WP’ is closed to new replies.