Title: Bertr4nd's Replies | WordPress.org

---

# Bertr4nd

  [  ](https://wordpress.org/support/users/bertr4nd/)

 *   [Profile](https://wordpress.org/support/users/bertr4nd/)
 *   [Topics Started](https://wordpress.org/support/users/bertr4nd/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bertr4nd/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bertr4nd/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bertr4nd/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bertr4nd/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bertr4nd/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[mqTranslate] store language choice in a cookie](https://wordpress.org/support/topic/store-language-choice-in-a-cookie/)
 *  Thread Starter [Bertr4nd](https://wordpress.org/support/users/bertr4nd/)
 * (@bertr4nd)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/store-language-choice-in-a-cookie/#post-5093720)
 * just FYI above modifications (almost emptying qtranslate_convertURL and a little
   cookie modifications given above) are still working with latest (2.6.7).
    It 
   would be extremely nice to have this available as an option (e.g. using GET, 
   a cookie, and bypassing convertURL) so hacking with each version wouldn’t be 
   necessary, I completely understand this is not the best-for-everyone solution,
   but for a site which needs to use cookies anyway for several other reasons, it’s
   really smooth and simple.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[mqTranslate] store language choice in a cookie](https://wordpress.org/support/topic/store-language-choice-in-a-cookie/)
 *  Thread Starter [Bertr4nd](https://wordpress.org/support/users/bertr4nd/)
 * (@bertr4nd)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/store-language-choice-in-a-cookie/#post-5093709)
 * sorry about my previous post that may accidentally sound a bit paranoid, it wasn’t
   on purpose 🙂 !
 * When using a cookie to store language selection, you no longer need url conversion,
   hence the qtrans_convertURL function is useless – as it is one of the core mqtranslate
   function this is also the one that may lead to certain troubles when used with
   complex plugins such as woocommerce.
 * To have everything working fine with the latest (2.6.6.3) version, the above 
   hack works fine, but you will also have replace the whole wonderful qtrans_convertURL
   function by
 *     ```
       function qtrans_convertURL($url='', $lang='', $forceadmin = false, $forceaddlang = false) {
       	return $url;
       }
       ```
   
 * Of course this use of mqtranslate is not really SEO friendly (but neither is 
   the use of the query string language selection) but the user experience (in the
   case of the use of woocommerce both for customer and store admin) is much smoother.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[mqTranslate] store language choice in a cookie](https://wordpress.org/support/topic/store-language-choice-in-a-cookie/)
 *  Thread Starter [Bertr4nd](https://wordpress.org/support/users/bertr4nd/)
 * (@bertr4nd)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/store-language-choice-in-a-cookie/#post-5093708)
 * looks like the latest update broke (among other things) my hack…
    I don’t see
   what this would happen, on purpose ? I see no new functionalities replacing it,
   plus menus are now broken and I can no longer use my own language selectors in
   menu using query string !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[mqTranslate] store language choice in a cookie](https://wordpress.org/support/topic/store-language-choice-in-a-cookie/)
 *  Thread Starter [Bertr4nd](https://wordpress.org/support/users/bertr4nd/)
 * (@bertr4nd)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/store-language-choice-in-a-cookie/#post-5093500)
 * seemed to work with a website with woocommerce and qtranslate

Viewing 4 replies - 1 through 4 (of 4 total)