Title: Problem with different language
Last modified: August 21, 2016

---

# Problem with different language

 *  Resolved [magdiczka](https://wordpress.org/support/users/magdiczka/)
 * (@magdiczka)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/)
 * Hey! First of all, congratulations on a very nice plugin, I was already frustrated
   with what WooCommerce offered in this case and I discovered your plugin that 
   saved my … patience 🙂
 * I have one problem though. I translated the plugin to Polish, created .po and.
   mo files and so on and it seems the translation lives its own life. The translated
   words appear in the Menu Cart when there is nothing in the cart, but when I put
   something, I can see polish version during refreshing the page, but it’s back
   to english after refresh (if you know what I mean). You can check my half finished
   page here: [http://shinea.pl](http://shinea.pl) I give up. Do you have any idea
   what’s wrong? I have a feeling it’s some small and stupid thing but I’m not able
   to figure it out…
 * [http://wordpress.org/plugins/woocommerce-menu-bar-cart/](http://wordpress.org/plugins/woocommerce-menu-bar-cart/)

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/#post-4047931)
 * Thanks for the compliments! I think it’s indeed something very small: AJAX.
    
   Try closing and re-opening your browser/tab. For me it’s all Polish!
 * BTW, the [WP Menu Cart](http://wordpress.org/plugins/wp-menu-cart/) comes with
   Polish translation files by default and includes a few other improvements!
 * Let us know if this solves your issue.
 *  Thread Starter [magdiczka](https://wordpress.org/support/users/magdiczka/)
 * (@magdiczka)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/#post-4047976)
 * Unfortunately didn’t help 🙁 I reopened the browser, rebooted the computer, deleted
   all cookies, installed WP Menu Cart instead of the Woocommerce Menu Cart… and
   no change 🙁 It’s still like that, that I see the polish version of “item” only
   during refreshing the page, and after refresh it’s back to english.
 * Btw, how does the plugin know which language to use? 🙂 I know, it’s probably
   a stupid question…
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/#post-4047978)
 * Hi Magiczka,
    I’m sorry that didn’t help. The plugin doesn’t determine the language,
   it just supplies the appropiate files and it’s WordPress that ‘knows’ which language
   to use according to your site’s settings.
 * I have checked again and after some browsing I see what you mean. I also noticed
   that the URL takes an argument for a language. Does that mean you are using some
   sort of third party plugin to do translations? This might be the root cause of
   your issue…
 * I also noticed that when I added a product to the cart, the message was in English,
   whereas all other WooCommerce buttons and text is in polish. This might have 
   the same cause, though of course that could just be a missing translation.
 * Let us know so we can help you figure out this problem.
 *  Thread Starter [magdiczka](https://wordpress.org/support/users/magdiczka/)
 * (@magdiczka)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/#post-4047981)
 * Yes, I use Polylang plugin – I’m going to translate the page into different languages.
   When I deactivated polylang, everything became totally english. You think it’s
   possible that the problem is caused by WordPress being set up to us english? (
   it drove me crazy that parts of the dashboard were in polish, the rest in english,
   and I rather think in english while working on it – that’s why I changed it)
 *  Thread Starter [magdiczka](https://wordpress.org/support/users/magdiczka/)
 * (@magdiczka)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/#post-4047983)
 * Yep, that was it… Seems like one of us needs to get crazy – either me using “
   almost polish” translation of wordpress dashboard, or the page trying to figure
   out what language I want from it.
 * Well thank you for your time and directions what to do! 🙂
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/#post-4047994)
 * Good to hear you found the issue, though I can imagine how frustrating that must
   be. So yes, our plugin defaults to the WordPress language. Apparently the Polylang
   plugin doesn’t play very nice with AJAX: Polylang does its thing and translates
   everything and then AJAX (we hook into the WooCommerce AJAX system) comes in 
   and loads the ‘future version’. Idially it should be the other way around, but
   we haven’t found a proper way to control that behaviour. That also means that
   although it works for you now, once you start using Polylang to enable other 
   languages on your site too, you will face the same issue again.
 * Hope that explains everything. Let us know if you have any other questions!
 *  Thread Starter [magdiczka](https://wordpress.org/support/users/magdiczka/)
 * (@magdiczka)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/#post-4047997)
 * Well, seems like there are some issues waiting for me in the future 🙁 But now
   I finally understand what was causing this weird behaviour of the plugin. We’ll
   see if I can figure it out for other languages, but that’s for some other time.
 * Thanks a lot! Hopefully, I won’t be back to you with other questions 😉

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

The topic ‘Problem with different language’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-menu-bar-cart/assets/icon-256x256.png?rev=2190481)
 * [Menu Cart for WooCommerce](https://wordpress.org/plugins/woocommerce-menu-bar-cart/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [magdiczka](https://wordpress.org/support/users/magdiczka/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-different-language/#post-4047997)
 * Status: resolved