To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.
Your next answer will be private, meaning only you and I can access it.
=== Please backup your database and website ===
✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.
Thanks for providing the login details. I can confirm that the login info is working correctly for me. I’m going to take a closer look at this issue and will get back to you with an update soon.
- I have thoroughly debugged this issue and found out that the button text is coming from the plugins/learnpress/templates/single-course/buttons/purchase.php file using the below code:
- After that it changes the ‘Buy Now’ text to ‘Subscribe Now’ using the .po/.mo file on this location:
wp-content/languages/plugins/learnpress-en_US.po
- I’m able to translate that button from the WPML >> String Translation page using the below URL: hidden link
But it only shows WPML translation at the front end when I rename/disable the learnpress-ar.mo file from wp-content/languages/plugins/ directory which does not seem expected behavior.
So, to further debug this issue, could you please follow the below steps and see if this resolves your issue:
1. Please take a backup of your site first for safety reasons.
2. We have recently released WPML 4.6.9, could you please update it to the latest version and see if this resolves your issue?
3. Please update all outdated plugins to the latest version.
4. If the issue persists, kindly perform the following steps to isolate the cause of the issue:
- Deactivate all plugins except WPML and LearnPress.
- Switch to the parent Eduma theme.
- If the issue is gone, reactivate each plugin one by one to identify the one causing the issue.
Please let me know the results,
Thank you for your cooperation and amazing patience
1. Could you please make sure you are using the premium version of the LearnPress plugin on your site and not the free version?
The pro version of the LearnPress plugin is fully compatible with WPML as you can see here in this link: https://wpml.org/plugin/learnpress/
2. If the issue persists with the premium version, then it might be a compatibility issue and we need to reproduce it at a fresh WP site to escalate it to our compatibility team.
I have created a fresh WP and here is the auto login URL: hidden link
Please install the LearnPress Pro plugin and configure it as you did on your site, try to translate that string, and let me know the results.
Yes, the premium version is expected to resolve this issue seamlessly, as we haven't received any similar reports about it, I just visited to your site and it seems the button shows the correct trasnlation now: hidden link
Could you please try to clear your browser cache and take another look at it and let me know how it goes?
Thank you for your cooperation
The topic ‘[Closed] I need to change the default language arabic word’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.