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

    (@tomik)

    Here’s one example…

    global $q_config;
    $language = $q_config['language'];
    $languages = qtrans_getSortedLanguages( true );
    $language_string = implode('|', $languages);
    $data['url'] = preg_replace("/($language_string)/", $language, $data['url']);

    Place that before “return $data[‘url’];” to function “link” to speedy-link-redirect.php .

    Eric

    (@eric-brandsma)

    I do not understand this example solution. Not familiar with programming.
    Please see the site i’m working on. https://www.twenta.nl/test/
    You will enter the German site. Clicking on “Produkte” should redirect to the first subpage “Die Vorteile der Treppen von Twenta…”. Being in Belgium language “Producten” should redirect to “De voordelen van Twenta trappen…”
    What can I do?

    Thanks Tomi K for the patch!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multilanguage support (qTranslate)’ is closed to new replies.