Viewing 15 replies - 1 through 15 (of 25 total)
  • Plugin Author Gunu

    (@grafcom)

    @alexisms

    See Is it possible to translate theme custom fields?

    This section seems to apply:

    The theme must pass those values through translation function __() before displaying on the front-end output.

    See also the Integration Guide

    Thread Starter AlexisMS

    (@alexisms)

    Hi and thanks, I’ve alread read all those links, but I still don’t know how to fix the problem at all. It’s the name of the tour that has a problem, but only in those previous/next sections. In all other parts of the websites, tour names are correctly translated… And it concerns only some tour names, not all – but there’s no difference in translation.

    Plugin Author Gunu

    (@grafcom)

    Is this (previous and next) not a default part of your theme translated by .po files?

    Thread Starter AlexisMS

    (@alexisms)

    I’d really like to answer, but I do not know what a .po-file is. I’m not a professional unfortunately. :/

    Plugin Author Gunu

    (@grafcom)

    your theme has translation files?

    Look in the theme folder for a folder languages.

    Also look in wp-content/languages/themes and see if there are .po and .mo files

    Thread Starter AlexisMS

    (@alexisms)

    Yes, there is a Theme.po file in themes/altair/languages.

    Plugin Author Gunu

    (@grafcom)

    What languages do you use?

    <h6><?php echo _e( 'Vorherige Reise', THEMEDOMAIN ); ?></h6>
    class="post_prev_next_link" data-img="<?php echo $prev_image_thumb[0]; ?>"<?php } ?> href="<?php echo get_permalink( $prev_post->ID ); ?>"><?php echo $prev_post->post_title; ?>
    </div>

    This ia a static part in your theme file? Basic of your theme is German?

    Thread Starter AlexisMS

    (@alexisms)

    Yes, that’s a part of the php-file for tour-pages. Basic language is German, second language will be English (only translated in a few pages yet).

    Plugin Author Gunu

    (@grafcom)

    So when you see the text it is from the theme, right?

    There is no field where you have placed the text yourself with the language codes?

    Thread Starter AlexisMS

    (@alexisms)

    Yes, exactly.

    Plugin Author Gunu

    (@grafcom)

    But the name of these pages are shown as “[:de]name of the tour[:]”

    Can you give me a link to your site so I can see it in action?

    Thread Starter AlexisMS

    (@alexisms)

    Plugin Author Gunu

    (@grafcom)

    Thanks!

    Can you set qTranslate X to Settings – Languages – General

    Use Pre-Path Mode (Default, puts /en/ in front of URL). SEO friendly.

    Thread Starter AlexisMS

    (@alexisms)

    Thanks for the tipp and sorry it took so long to answer. I really appreciate any idea that might help to solve the problem.

    I tried to change the settings, but it’s not possible up to date. I can only choose between query modus and pre-domain modus. Pre-path checkbox is greyed out and not “clickable”.

    Thread Starter AlexisMS

    (@alexisms)

    My fault. I changed the permalinks settings and thus enabled the pre-path mode. Unfortunately, it does not solve the issue with the [:de]German tour name[:en]English tour name[:] on bottom of the tour pages yet.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘qTranslate X issue with Altair theme’ is closed to new replies.