This thread is resolved. Here is a description of the problem and solution.
Problem:
When I select the Arabic language, the translation for WCFM, WooCommerce, and WCFM Frontend Manager doesn't appear properly. Instead, it only shows the RTL format without any translation.
Solution:
What I did is the following. Let's take the string 'Withdrawal' as an example. Please notice that it is with a capital W.
1. Go to WPML -> Strings Translation.
2. In the Search field, insert 'Withdrawal'.
3. Check the options 'Exact match' and 'Include translations'.
4. Press the Search button.
5. Translate all the instances of 'Withdrawal' into Arabic. Please see the attached screenshot.
I noticed those strings in multiple domains, 'WCfM' wc-frontend-manager' and wc-multivendor-marketplace'. And I noticed that it is important to translate those strings in all of the domains they show.
Relevant Documentation:
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: Bug, Compatibility, Documentation request
This topic contains 14 replies, has 2 voices.
Last updated by tarekS-7 1 year, 9 months ago.
Assisted by: Itamar.
Author | Posts |
---|---|
July 10, 2023 at 1:34 pm #14004131 | |
tarekS-7 |
I am facing several issues with the integration of WMPL and WCFM. I would like to list these problems for you: 1. When I select the Arabic language, the translation for WCFM, WooCommerce, and WCFM Frontend Manager doesn't appear properly. Instead, it only shows the RTL format without any translation. You can see this issue in screenshot number (2). 2. There is a problem with all listings in WCFM when I choose the Arabic language. It fails to display any products, notifications, members, and staff. This problem affects all the listings. Screenshots number (3) and (5) demonstrate the issue with products and notifications, respectively. 3. When I attempt to translate a product, the edits made in the Arabic version are not saved, and the product remains in the uncategorized category. Screenshot number (4) illustrates this problem. 4. In the Arabic version of the product, I am unable to modify any information regarding the manufacturer or country in the attributes. Screenshots number (6) and (7) provide examples of this issue. 5. I have thoroughly reviewed all the threads related to this problem and have attempted various solutions, including deactivating Wordfence and allowing parameters for the wp-config file. Unfortunately, these attempts did not resolve the issues. Thank you for your assistance. |
July 10, 2023 at 2:01 pm #14006883 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Are you referring to this plugin? hidden link If it is indeed this plugin, please be aware that we have two known issues. You can see them in our guide about working with this plugin. As you can see, the issues are waiting to be solved from the plugin's authors' side. https://wpml.org/errata/wcfm-frontend-manager-woocommerce-endpoints-not-working-correctly/ https://wpml.org/errata/wcfm-vendor-store-page-content-doesnt-fallback-to-default-language/ RTL issues should also be solved from the plugin's authors' side, as it is unrelated to WPML. You will experience this problem if Arabic is the only language of a site. Please ask for help with this issue from WCFM support. Please let us know if you experience an issue not listed as one of the known issues, and we will try to see if we can help. In this case, please also share your site's Debug information. You can read about it here. http://wpml.org/faq/provide-debug-information-faster-support/ Regards, |
July 11, 2023 at 7:29 am #14010759 | |
tarekS-7 |
Not related did you have the chance to read the issue? |
July 11, 2023 at 11:09 am #14013625 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Yes, of course, I read the issue. Some of your descriptions looked to me like could be a result of known issues. Please be aware that I'm unfamiliar with the WCFM plugin. Nevertheless, I'm here to help you with any compatibility issues we might face. We need to replicate this issue on a fresh WordPress installation. Then I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link: hidden link With this link, you'll be directly logged in. Could you please install the WCFM plugin and see if the issue is replicable on a clean WordPress installation? Please configures WPML and WooCommerce as set on your site (just the basic configurations needed to replicate the issue are enough). Please also ensure you install the latest version of the plugin. Please let us know when everything is finished, and you can replicate the problem. |
July 11, 2023 at 5:39 pm #14017403 | |
tarekS-7 |
Kindly check |
July 12, 2023 at 7:49 am #14020029 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, and thanks for replicating the issue on the sandbox site. I would kindly ask you to further help me in understanding the issue. In your first post, you mentioned 4 problems. For each of the problems, you mention the related screenshot, but you mention it with a number. You also mention screenshots 6 and 7, but I can see only 5 screenshots. In addition, I'm unable to figure out which screenshots you are referring to for each issue. Please refer to the screenshots with their names, for example, 14004131-1_816.jpg. You also mention a problem with displaying the products in Arabic. But I can see that also there are no products in English. Please see the attached screenshot no-products-in-enlish.jpg. Can you please fully replicate the issue? Please redescribe each of the 4 issues and mention the steps and URLs I should visit to see the problem. Thanks, |
July 12, 2023 at 9:33 am #14021595 | |
tarekS-7 |
- the last digit in the name reflects the number. - could you please open English and Arabic in different tabs and compare products, notifications, members, and staff tabs? it works only in English. - try to add a new product in Arabic. |
July 13, 2023 at 11:13 am #14031551 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Thanks. I could replicate the following issue and escalated it to our compatibility team. The issue: With WPML and WCFM, creating products in Arabic is impossible. If you are in the Arabic language and you go to My Store -> Products and create a new product and publish it, the page gets stuck. When you try to see the list of products in Arabic, the list is empty. I've found the following JS error in the browser's console when creating a product n Arabic. Uncaught SyntaxError: Bad control character in string literal in JSON at position 49 at parse (<anonymous>) at Function.<anonymous> (jquery-migrate.min.js?ver=3.4.0:2:3110) at e.<computed> [as parseJSON] (jquery-migrate.min.js?ver=3.4.0:2:1566) at Object.success (wcfm-script-products-manage.js?ver=6.7.0:1586:25) at c (jquery.min.js?ver=3.6.4:2:28447) at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.6.4:2:29192) at l (jquery.min.js?ver=3.6.4:2:80176) at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.6.4:2:82630) I tried the same with French as the second language, and it worked. It seems that the problem is in Arabic or with RTL languages. Please note that the products in Arabic actually being created and can be viewed in the WooCommerce list of all Products in Arabic. Please note that I only escalated the mentioned issue. I believe that it is related to the other issue. If you think it is unrelated to the other issue, you are welcome to open new tickets in our forum with the other issue. Please mention this ticket, as it will help the supporter know the context of the problem. You are also welcome to ask WCFM support for help with this issue. When I have news from our compatibility team regarding this issue, I'll update you here. I appreciate your patience. |
July 13, 2023 at 12:32 pm #14032951 | |
tarekS-7 |
Thanks. Not only the products but also notifications, members, staff, and any option that has a listing the same as the products. |
July 16, 2023 at 3:40 pm #14045215 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Our second-tier supporter has found the cause of this problem. The problem comes from the following strings, which you probably translated. It seems you added an extra Line break (Enter), which is breaking WCFM logic: - Showing 0 to 0 of 0 entries Please those strings or remove the line break. Also, keep in mind that this issue may happen with other strings translated in Arabic from the 'wc-frontend-manager' domain. We tried this on the sandbox site and it fixed the issue. Please see the attached screenshot. Please try the same on your site and tell me it works. |
July 17, 2023 at 8:38 pm #14053451 | |
tarekS-7 |
Thanks, Could you please tell me why all the tabs are in English while all strings are translated to Arabic? |
July 18, 2023 at 4:20 pm #14060951 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
You can find them and translate them in WPML -> Strings Translation. They may be in different domains. |
July 18, 2023 at 4:46 pm #14061161 | |
tarekS-7 |
First of all thanks for your support. - could you please share the steps applied for fixing the translation and the po is applied? - now the product page not working 🙂 |
July 19, 2023 at 9:39 am #14064195 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, What I did is the following. Let's take the string 'Withdrawal' as an example. Please notice that it is with a capital W. 1. Go to WPML -> Strings Translation. I noticed those strings in multiple domains, 'WCfM' wc-frontend-manager' and wc-multivendor-marketplace'. And I noticed that it is important to translate those strings in all of the domains they show. I do not see any related .po files in the /wp-content/languages/plugins/ folder. I don't know why they are not there. I do see the .po files in the plugins themselves. For example, in /wp-content/plugins/wc-frontend-manager/lang/wc-frontend-manager-ar_AR.po. I can see the problem with the Products page. I'm unsure why it happened. But since it is on the test site and not the issue of this ticket, we shouldn't worry about it unless it also happens on your site. Does it happen on your site? |
July 19, 2023 at 2:11 pm #14066965 | |
tarekS-7 |
Kindly close the case I solved it by po editor and detecting the errors. |