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: Documentation request
This topic contains 6 replies, has 3 voices.
Last updated by Marcel 1 year, 6 months ago.
Assisted by: Marcel.
Author | Posts |
---|---|
August 25, 2023 at 4:17 pm #14293081 | |
henrikt-5 |
I am trying to: translated the Stripe check out box Link to a page where the issue can be seen: hidden link I expected to see: the text in Swedish Instead, I got: the text in French, however, the string translation is set to the correct master language and done correctly |
August 28, 2023 at 7:42 am #14297901 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I understand the issue you're having. When I attempted to access your site to examine the issue further, I consistently encountered a 500 error. However, let's try a possible solution. Please follow the steps mentioned below and check if that helps to solve the issue. - Please go to "WPML > String Translation". You can check this documentation for more information: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#strings-arent-selected-for-translation Please let me know if that helps or if you need further assistance in this matter. I will be happy to help. Best Regards, |
September 1, 2023 at 12:00 pm #14326399 | |
henrikt-5 |
Hi Prosenjit, Sorry for a late answer, I certainly had a 500 error that broke the site and had to arrange that before repying. I think I found the texts in Swedish that is the Master language of the site. However, the problem is that French is showing on the Swedish version o the check out. When I follow the steps you give me I see that the texts have locked state with the following text : "Registered and locked : This setting is locked by a WPML configuration file." (see attached). Does that give you some idea of what is the problem? Thanks in advance. BR, Henrik |
September 2, 2023 at 8:32 am #14329819 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi Henrik, If you're seeing “Registered and locked” for a certain field in the Admin screen, it means that the string is already registered by the theme or via an XML configuration file. They should appear on the "WPML → String Translation" page so that you can translate them. On the String Translation section, please search for the French text that is showing on Checkout. If that text appears in the result, please check and make sure that the Swedish translation is added properly for that text. Related documentation: https://wpml.org/documentation/getting-started-guide/string-translation/ Let me know if that helps or if you need further assistance in this matter. I will be happy to help. Best Regards, |
September 2, 2023 at 9:17 am #14329847 | |
henrikt-5 |
Hi Prosenjit, Thanks for your reply. I followed your recommendations and I think I found the strings when searching on the French text :"Payez avec votre carte bancaire avec Stripe.". They are translated correctly, but the French text is still appearing on the Swedish page in the frontend. Here is for example the strings for "Pay with your credit card via Stripe." : woocommerce-gateway-stripe Pay with your credit card via Stripe. Can it be the “Registered and locked” that is forcing the French text to the Swedish page? It's only 2 phrases, but it's very frustrating not to be able to get the right language. Best regards, Henrik Tauson |
September 4, 2023 at 4:36 am #14333369 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Henrik, The "registered and locked" shouldn't cause the issue. As mentioned in my previous response, it indicates that the plugin author has registered that string for translation within the WPML config file. However, as the issue persists, a closer inspection will be required to understand the root cause of the issue. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. IMPORTANT Looking forward to your response. Best Regards, |
September 12, 2023 at 4:52 pm #14385537 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, my name is Marcel and I will take over your ticket, as my colleague Prosenjit is not available today. I searched for more strings and found this once, which I translated to EN and SV, which works on the Frontend: hidden link And another one for the info text here: hidden link. The issue here is that the string is registered via French. So you need to assign the source string to French, which I did via https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/. So the string has now changed to show the SV flag instead of French as the source. The second is only working when the "WPML Auto Register" (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#auto-register-strings-for-translation.) option is active, so I recommend you to delete the string as described here: https://wpml.org/errata/in-some-cases-some-strings-are-not-translating-properly/ Best Regards |
September 12, 2023 at 6:08 pm #14385819 | |
henrikt-5 |
Hi Marcel, |