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?
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?
I found this solution!
Put this inside search form!
<input type="hidden" value="<?php if ($language == 'es') echo "es"; else echo "pt"; ?>" name="lang"/>
You must log in to post.