This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing an automatic language switch in your admin profile and incorrect amounts on invoices when saving orders due to a language mismatch.
Solution:
First, ensure that you update WooCommerce to the latest version. If the problem persists, disable all non-WPML plugins except for WooCommerce and switch to a default theme. Remember to clear all caches. After these steps, check if the issue still occurs. If it does, we will escalate this to our second-tier support.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 0 replies, has 0 voices.
Last updated by myleneG 1 month ago.
Assisted by: Lauren.
Author | Posts |
---|---|
January 7, 2025 at 5:59 pm #16571017 | |
myleneG |
Background of the issue: Symptoms: Questions: |
January 7, 2025 at 6:17 pm #16571078 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Please let me know if you are able to reproduce the issue on the staging site and if so, please share credentials in the private fields in the next reply so I can login and take a look. |
January 7, 2025 at 9:35 pm #16571475 | |
myleneG |
I have recreated a new staging site and can give you access. And it was quite easy to replicate: in the Pages section, I clicked on the language selector in top bar and that changed my profile language! I think it might be the only time it does that, but this info should help pinpoint the process! Thank you |
January 9, 2025 at 4:41 pm #16578981 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Please share credentials in the private fields in the next reply and I will be happy to login to the test site and check further. Please also let me know if it is okay to disable non WPML Plugins and switch to a default theme on the staging site. |
January 12, 2025 at 1:50 pm #16585720 | |
myleneG |
I don't know why but I don't get the private fields showing here ? |
January 13, 2025 at 8:29 pm #16590624 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
The credentials provided are not working for me. Please update the previous reply, or include correct credentails in the next reply which I have marked as private and has the fields to share login details. |
January 16, 2025 at 6:52 pm #16603595 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Thank you, these credentials worked. I went to the list of pages, and changed languages using the admin language switcher at the top of the dashboard. I'm not seeing the language in the dashboard change. I have included screenshots. Can you tell me specifically which content you are seeing that changes language in the backend? |
January 18, 2025 at 5:42 am #16608685 | |
myleneG |
It seems my email reply ddn't make it here... |
January 22, 2025 at 3:26 pm #16623970 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Thanks for clafrifying. You mentioned "sometimes I have multiple windows open and if I save in one window that was in French when opened but profile switched in another, it messes things up." - this is intentional, becuase WPML allows you to upload content or create content in different languages. for example, you can upload a media file to a library in one language and not have it used in another. Another example is creating orders, and another would be creating posts/pages. You can create the post or content in any language, it doesn't have to be done in the default language. So the language changing in the backend is expected. You just need to make sure that you check your admin language and make sure it's the correct one before changing or editing you order. When I review the test order, I see the price for the product as 6 568 538,00$. This does not change when I click update. Furthermore the order was created in French (you can see this in the custom feilds section) so the price should always reflect the French format. I hope this helps clarify, please let me know if you have any additional questions. |
January 22, 2025 at 4:05 pm #16624225 | |
myleneG |
I'm not sure I explained myself correctly because what you explain I completely understand. However, the problem is quite easy to replicate, I have added another video as proof and here are the exact steps to see for yourself: Thank you |
January 23, 2025 at 4:12 pm #16629052 | |
Lauren Supporter
Languages: English (English ) Timezone: America/New_York (GMT-05:00) |
Please update WooCommerce and confirm if the issue is happening with the latest version. If it is, please disable all non WPML plugins except for WooCommerce and temporarily switch to a default theme. Be sure to clear all caches and then check to see if the issue is still happening and if it is, I will look and escalate to our second tier support. |
January 25, 2025 at 4:32 am #16633122 | |
myleneG |
I'm sorry, I should have done this before, the numbers aren't messed if only woocommerce and wpml activated |