WordPress.org

Forums

qTranslate
[resolved] Qtranslate does not change the abbreviation of the parent page (2 posts)

  1. robertosalemi
    Member
    Posted 1 year ago #

    Hello,
    I'm using the plugin Qtranslate for the Italian-English version of my website.

    If I use the widget to the language selection is fine.

    Instead, if use the function
    <?php qtrans_generateLanguageSelectCode ('image');?>
    this does not take into account the parent page, for example:

    lavoro/pagina-italiano/ -> should change to -> work/pagina-inglese

    instead remains as

    lavoro/pagina-italiano/ -> should change to -> lavoro/pagina-inglese

    then I get a 404 error.

    Obviously the abbreviations of the page I have setup I, according to my needs.

    I repeat: the widget everything is working correctly.

    Thank you.

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

  2. robertosalemi
    Member
    Posted 1 year ago #

    I just solved, in this case, as I have also installed the plugin Qtranslate Slug is necessary to use the

    qts_language_menu ('image');

    in place of

    qtrans_generateLanguageSelectCode ('image');

    Unfortunately there are still local and I can not show the correct funzionamente.

    Thanks anyway.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags