• Resolved leandrodpzla

    (@leandrodpzla)


    I’m using qTranslate to set a multilanguage site, and I want to make my results appear in the right language. How could I put &lang=es or whatever to the end of the URL string generated by search form?

Viewing 1 replies (of 1 total)
  • Thread Starter leandrodpzla

    (@leandrodpzla)

    I found this solution!
    Put this inside search form!
    <input type="hidden" value="<?php if ($language == 'es') echo "es"; else echo "pt"; ?>" name="lang"/>

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: qTranslate] Add &lang= to search results URL’ is closed to new replies.