WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate
qTranslate: "home" link resets selected language (2 posts)

  1. julslash
    Member
    Posted 2 years ago #

    hello i have a problem with qtranslate.

    language not install and place in spanish and english.
    selected the default language.
    then go to change the language website and entered into a category and perfect, but when searching or go home to option in the menu reset the language that is default!

    need to follow in the same language until i manually change!
    i have version 3.4.1 of wordpress
    anyone can help me?????

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

    [Please stop posting in uppercase. It's the electronic equivalent of shouting and is considered quite rude. Post de-capped.[/em>

  2. newtnewt
    Member
    Posted 1 year ago #

    One option is to hack the wp code so that search.php recognizes that there are different languages. Otherwise searches will always go back to your default language. Then you can add the 2-letter language code to the url of the search result.

    You can also write some php to check which language you're using and then overide the normal 'home' button so that it goes to yoursite.com/es/ for example.

    (by the way, it does not matter which version of WP you are using)

    Hope this gets you started. Sorry, it is not an elegant solution.

    NN

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic