This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to change the value of the Tagline and Blog Title strings for their website using the Hello theme, which is compatible with WPML. They also had issues with translating Rank Math's %Sitename% placeholder, as it was not reflecting on the live site despite being translated in WPML's String Translation.
Solution:
1. To change the Tagline and Blog Title strings, go to WPML > String Translation. Check the boxes for these strings, scroll down, and switch the language to one that is not yet set up on the site. This will allow you to change the strings for English, adding a new column with a '+' for the EN flag.
2. For Rank Math SEO integration with WPML, refer to the following documentation:
3. To address the WP Memory Limit issue, add the following code to the wp-config.php file:
/* WP Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');<br />define('WP_MAX_MEMORY_LIMIT', '256M');
Place it before the line that says
/* That's all, stop editing! Happy blogging. */
. If the hosting provider limits these settings, contact them to request an increase.
If the provided solution does not apply to your case, or if it seems outdated, we recommend checking the related 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. We highly recommend creating a backup of your site before making any changes.
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 17 replies, has 2 voices.
Last updated by ylyasK 10 months ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
February 9, 2024 at 12:14 pm #15285985 | |
ylyasK |
How do I change the value of Tagline and Blog Title strings. My theme is Hello theme and you say that it is compatible with WPML, so I think that this is not hardcoded deep in the code (I hope so). All screenshots are atteched Actually my deafult language was Russian and now I switched it to English. Also my WPML does not translate Rank Math's %Sitename%. I mean I have translated them on String translate but still on live site it does not translate. ----------- |
February 10, 2024 at 12:02 am #15287864 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there. 1. Usually, these strings can be added in the General settings in the WordPress backend: If you want to change that content from inside WPML > String Translation, you will need to check those boxes > then scroll down a bit and switch the language to one that doesn't exist on the site yet (any language that you don't have set up on the site yet). Then, you will be able to change those strings for English (You will see a new column on the right with a + for the EN flag). 2. Also, for using Rankmath with WPML, I am not sure if you had the chance to take a look here: 3. In regards to the WP Memory, I have noticed that your website’s WP Memory Limit is 40MB. The WP memory limit needs to be increased as the minimum requirement for WPML is 128Mb WP Memory Limit: https://wpml.org/home/minimum-requirements/ ❌ Very important: please make a backup of your site (files & database) before following any of the upcoming steps ❌ Please add this to your wp-config.php file to increase WP memory: /* WP Memory Limit */ define('WP_MEMORY_LIMIT', '256M'); define( 'WP_MAX_MEMORY_LIMIT', '256M' ); Paste it just before: /* That's all, stop editing! Happy blogging. */ These settings can be limited directly by your hosting provider, so, if that’s the case, I recommend you contact and ask them to modify them directly. If you can get even higher values It would be great. Please make sure you have updated the values successfully, You can verify them from WPML >> Support page. I hope that you will find all that information helpful. Mihai Apetrei |
February 10, 2024 at 12:19 am #15287916 | |
ylyasK |
Hello Mihai, Thank you for you answer. I have dealed with WP Memory limit. Now the thing that left is this: Do I understand it correctly that the issue which is depicted on the screenshot is a known issue and I just can not reach what I want until it will be fixed in next updates? |
February 12, 2024 at 8:53 pm #15294806 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there. These strings should be available for translation with WPML when you are using Rankmath as explained here: hidden link In your screenshot, it seems that you are targeting different strings, not the ones that are coming from the RankMath settings. Please take a look over those 2 URLs and let me know if you were able to find the correct ones. Mihai |
February 12, 2024 at 9:42 pm #15294958 | |
ylyasK |
Hello Mihai Thank you for your answer. But still can't solve my issue. 1) About this link: I don't have a problems with breadcrumbs and the word "Home" translation. 2) About this link: I have attached a screenshot (1.png) where you can see that I don't have specificly that %sitename% translation option on advanced translation. 3) About this link: I have tried all your instructions, but I still have my issue opened. Maybe I missunderstand or do something wrong, please clarify what exactly should I do. Little reminder: please remember that I only need %sitename% (screenshot 2024-02-09_16-58-51.png) to be translated for this ticket |
February 14, 2024 at 11:19 pm #15304595 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there and thank you for all the updates. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this 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. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Privacy and Security Policy We have strict policies regarding privacy and access to your information. Please see: **IMPORTANT** - Please make a backup of the site files and database before providing us access. - If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link I will be waiting for your response. Kind regards, |
February 15, 2024 at 11:24 am #15306621 | |
ylyasK |
Thank you for your help Mihai. Let me create a staging site soon, and I will provide you entry details for that. Please don't close this ticket yet, I will be back with entry details soon (I remember about requesting a private box before providing entry details) Thank you |
February 15, 2024 at 8:59 pm #15309472 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Sure, ok, no worries. I reactivated the private fields for when you will be able to answer. Mihai |
February 18, 2024 at 3:30 pm #15315124 | |
ylyasK |
Hi Mihai Please your entry link to my stage site hidden link |
February 19, 2024 at 10:42 pm #15320224 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Thank you for the update. Sorry for the delay, I don't work on the weekends. I can confirm that I was able to successfully log into the backend of the site. I will get back to you as soon as I have updates. Mihai |
February 22, 2024 at 11:51 am #15333260 | |
ylyasK |
Hi Mihai Just wanted to know how is it going? I also want to say I want to update my restore site, actually it will be a new copy of my live site, I hope entry link will be the same. Please provide me a private window to enter entry link in case it will change. Or if I should not to update my stage site temporarily since you are testing it please let me know |
February 23, 2024 at 8:42 am #15336402 | |
ylyasK |
Thank you for your reply Mihai It is all okay with Homepage I did not have problems with it there But all other pages' titles don't translate %sitename% hidden link screenshots are also attached |
February 24, 2024 at 7:48 pm #15340880 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there. The staging site is not working anymore. I'm reactivating the private fields below so that you can share the new credentials if you have them available. Mihai |
February 24, 2024 at 8:32 pm #15340960 | |
ylyasK |
Sorry for that I have just updated it Please new link I hope this update did not affect negatively to all your efforts Mihai |
February 28, 2024 at 12:07 pm #15353713 | |
ylyasK |
So I just have to correctly change Blog title? And that is all? |