Forums

qTranslate
Quicktags vs Extra Fields - Custom Fields (4 posts)

  1. liger
    Member
    Posted 10 months ago #

    Hello there,

    I am so happy with qTranslate but i am having hard time using it with custom fields aka extra fields.

    When i try to write the content with both quicktag options it doesn't recognizes.

    [:en]test[:tr]deneme prints as it is.

    is it only me having the problem?
    can anybody help me out?

    thank you.

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

  2. liger
    Member
    Posted 10 months ago #

    Also when try with the other quicktag option;

    <!--:tr-->Deneme<!--:--><!--:en-->Test<!--:-->

    prints out

    DenemeTest

  3. thatwastaxing
    Member
    Posted 10 months ago #

    Same here. Trying to use it with Register Redux Plus plugin for custom registration fields.

    This is on the dev's forum: http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=4&t=294

    Found these resources as well:

    http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins/

    http://getshopped.org/forums/topic.php?id=13955

  4. wecando
    Member
    Posted 4 months ago #

    have you find the answer? I know it's been six month but I stmbl upon you post.

    The answer is pretty easy. Since you are trying to translate something from qtranslate, you can always echo it with a php string.

    here is a workable solution for your problem :

    <!--:tr-->Deneme<!--:--><!--:en-->Test<!--:-->
    will be
    <?php echo __("<!--:fr-->Hello<!--:--><!--:en-->Hi<!--:-->"); ?>

    this will trigger qtranslate to translate the html string....

Reply

You must log in to post.

About this Plugin

About this Topic