• Resolved yvzaks

    (@yvzaks)


    Hi,
    Thanks for all your hard work for creating such useful plugin. I have a question and sorry in advance if it sounds like a simple issue. Im new to everything:)
    So I created categories for my wp and translated the title and the category descriptions in 2 languages using qtranslatex. When I click the category on my header menu, the page shows the title in one languge but the description shows both with language indicators.
    Here is an example:
    HEALTH AND NATURE (—-> this is fine)
    [:tr]Beden ve Dünya İyileştirme[:en]Body and Earth Recovery[:] (description shows both language)
    How can I make it pick one for the language chosen?
    I mean my category page should look like this when the site languge is in Eng:
    HEALTH AND NATURE
    Body and Earth Recovery
    I hope I could make it clear:) Thank you a lot for any help. Peace

    https://wordpress.org/plugins/qtranslate-x/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter yvzaks

    (@yvzaks)

    Hi,
    I am still trying to find a solution. Any help will be appreciated. I have found this code in the forums. Is this about the category description issue I’m having?

    <?php
    $category = get_the_category();
    _e($category[0]->category_description, ‘qtranslate’);
    ?>

    If yes where and how I should add this? Thanks a lot! Hope to hear from someone, Peace

    Thread Starter yvzaks

    (@yvzaks)

    Hi again,
    The issue is being solved. Category php of my theme is needed some adjustments. Thank you.

    Could you share how was solved?
    I have the same problem
    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu Category Description Shows Both Language’ is closed to new replies.