• Hello,

    First, thank you for resume the draft qtranslate, he is fantastic.

    I have a question and do not know how to solve, how I can translate a function buddypress (group name)?

    <? php _e([:en] bp_group_name();[:][:es] bp_group_name ();[:]); ?> <— It’s wrong, I know

    How could get it to work?

    Thank you!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter David Glez

    (@davidglez)

    Repost:

    I only happens in customized templates, for example, this is one of them:

    <?php get_header(); ?>
    <div class=”container”>
    <div id=”primary” class=”col-md-8″>
    <div class=”row”><? bp_get_template_part( ‘groups/page-activity’ ); ?></div>
    </div>
    <?php get_template_part( ‘sidebar’); ?>
    </div>
    <? get_footer();?>

    <?php bp_get_template_part( ‘groups/page-activity’ ); ?> <– It contains the function I mentioned in the previous post

    Thanks!

    Plugin Author Gunu

    (@grafcom)

    @davidglez

    you can read this for example: Integration Guide

    In the basic group pages, title and content, you can use qtranslate x code: [:en]Group name[:es]Nombre Del Grupo

    Thread Starter David Glez

    (@davidglez)

    Hello, yes, I have done so, but it shows me the two languages:

    [:en]Sports Group[:][:es]Grupo Deportes[:] <– Display in page

    Please, go to link and see the screen Screen

    I’ve tried every way, but being a template gives that error. The truth is I do not know how to fix it.

    Thank you!

    Plugin Author Gunu

    (@grafcom)

    @davidglez

    only happens in customized templates

    Maybe they have an answer for you here – Support BuddyPress

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

The topic ‘One issue’ is closed to new replies.