qTranslate 2 for Wordpress 2.7

Having Problems? Need Help? Post here!

Re: qTranslate 2

Postby Qian Qin » Sun Nov 30, 2008 1:36 am

I've received quite a lot greetings from you guys! Thanks a lot! It did motivate me to spend the whole day on developing qT2. :P So here's a screenshot of the current state for you.

Did I mention qT2 is now using XML-compatible delimiters now? They look like this: <!--:en-->english<!--:-->. When qT2 is released, there will be a converter for posts. Tags and categories will be needed to converted manually.

more features will come and hopefully, qT2 will be released not too long after WP2.7 (which is almost RC)

I still get a lot support mails, so I'm apologizing that I am not answering them but spending the time on the development.
Attachments
qt2.png
qT Editor in WP 2.7
Qian Qin
Site Admin
 
Posts: 888
Joined: Thu Jun 19, 2008 12:14 pm
Location: Germany

Re: qTranslate 2

Postby coolmann » Sun Nov 30, 2008 9:24 pm

Will an alpha release be available for testing?
coolmann
 

Re: qTranslate 2

Postby Qian Qin » Mon Dec 01, 2008 1:00 am

you can alsways download the development version.
Qian Qin
Site Admin
 
Posts: 888
Joined: Thu Jun 19, 2008 12:14 pm
Location: Germany

Re: qTranslate 2

Postby cestbibi » Mon Dec 01, 2008 9:32 am

Thanks a lot for your commitment to making a new and better version of this plugin wich is very very usefull. In a country like Spain wich I come from we have 4 co-official languages so we really appreciate !!
cestbibi
 

Re: qTranslate 2

Postby coolmann » Mon Dec 01, 2008 4:23 pm

Hey Qian, I'm testing your latest dev version, it looks cool! By the way there is a bug in qtranslate_core.php, row 94:

$result['url'] = preg_replace("(&|\?)lang=".$result['language']."&?","$1",$result['url']);

throws an error:

Warning: preg_replace() [function.preg-replace]: Unknown modifier 'l' in [path]qtranslate_core.php on line 94

So I changed it in

$result['url'] = preg_replace("/(&|\?)lang=".$result['language']."&?/","$1",$result['url']);

and it works fine now :)

Keep up this wonderful project!
coolmann
coolmann
 

Re: qTranslate 2

Postby Qian Qin » Fri Dec 05, 2008 7:12 pm

thanks to these two this time, I continued developing the editor and made it work for the "code" part now too. It was really stressful as my computer is in no condition of debugging javascript, but I still managed it. I definitely need a new PC. :(

Anyway, to let you guys see that I'm still alive and developing, here is a new screenshot.

@coolman: thanks for the fix, I noticed it too after I checked it in...
Attachments
qt3.png
Language Switcher for HTML
Qian Qin
Site Admin
 
Posts: 888
Joined: Thu Jun 19, 2008 12:14 pm
Location: Germany

Re: qTranslate 2

Postby Yiedra » Sun Dec 07, 2008 11:46 pm

Bumpy wrote:Hello!
I use a plugin, Event calendar: http://heirem.fr/

but if I active qtranslate, event calendar widget doesn't work anymore!!! :(

Another thing:
If I would the language image in horizontal instead vertical???
I try to use:
<?php echo qtrans_generateLanguageSelectCode('image2'); ?>
and
case 'image2':
foreach($q_config['enabled_languages'] as $language) {
echo '<a href="'.qtrans_convertURL($_SERVER['REQUEST_URI'], $language).'"';
echo ' class="qtrans_flag qtrans_flag_'.$language.'"></a>';
}

but doesn't work. Thay are in vertical!!!


Thank you!


Hey Bumpy,

This worked for me to display it horizontally:

Code: Select all
case 'hboth':  // Code added by Yiedra
         echo '<ul class="qtrans_language_chooser" id="'.$id.'">';
            foreach($q_config['enabled_languages'] as $language) {
                //if($language == $q_config['language'])
                echo '<a href="'.qtrans_convertURL($_SERVER['REQUEST_URI'], $language).'"';
                echo ' class="qtrans_flag_'.$language.' qtrans_flag_and_text"';
                echo '><span>'.$q_config['language_name'][$language].'</span></a> ';
            }
            echo "</ul><div class=\"qtrans_widget_end\"></div>";
            break;


Then just call it using <?php echo qtrans_generateLanguageSelectCode('hboth'); ?>

You can see it working on my website wow.60-fps.com, check the top right of the page ^^

3 cheers to Qian Qin, I'm very much looking forward to qTranslate 2.0
Yiedra
 
Posts: 3
Joined: Sun Dec 07, 2008 11:25 pm

Re: qTranslate 2

Postby miqrogroove » Thu Dec 11, 2008 3:48 pm

Qian Qin wrote:When qT2 is released, there will be a converter for posts. Tags and categories will be needed to converted manually.


This doesn't make sense. The schema for tags and categories is even more simple than posts. I can't speak for everyone, but I have more tags and categories than I have posts. Lack of a converter would be a roadblock to using qT2.
miqrogroove
 
Posts: 74
Joined: Sun Jul 20, 2008 4:18 am

Re: qTranslate 2

Postby coolmann » Thu Dec 11, 2008 8:46 pm

@miqrogroove: don't be silly, i think this is not a problem at all :) qTranslate is a free tool, you cannot pretend Qian to make it work the way YOU want :) Converting categories can be done manually very easily!
coolmann
 

Re: qTranslate 2

Postby shecky » Sat Dec 13, 2008 5:39 pm

Hi mate!

I'have upgrade WP to 2.7.0 and qTranslate with 2.0b.
Only a question: in some files I add multilingual content with [lang_xx][/lang_xx].
Now I changed [lang_xx][/lang_xx] with <!–:xx–><!–:–>, but no translation made :-(

Can you help me?
shecky
 

PreviousNext

Return to qTranslate Support Forum

Who is online

Users browsing this forum: Google [Bot] and 3 guests