This thread is resolved. Here is a description of the problem and solution.
Problem: The client is using Event Calendar on their site and is trying to translate date strings such as 'August', 'Aug', 'Sun', 'Tue' using WPML. Although these strings have been translated in the string table and the admin version, they are not appearing correctly on the webpage. Solution: 1. We recommended following the steps in our guide to find and translate strings that don't appear on the String Translation page. You can find the guide here: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ 2. We increased the WordPress memory limit for the client's site to meet WPML's minimum requirements. This adjustment was made by adding the following code to the wp-config.php file:
3. We suggested creating a staging site using the WP Staging plugin to run further tests without affecting the production site. 4. After several troubleshooting steps, the issue was escalated to our 2nd tier of support for further testing. 5. The issue was resolved by renaming the file wordpress-cy_GB.mo to default-cy.mo in the wp-content/languages/wpml directory, changing the language code from cy_GB to cy in WPML -> Languages -> Edit languages link, and saving the changes.
If this solution does not resolve your issue or seems outdated, we 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 problem 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.
Background of the issue:
I am using Event Calendar on my site hidden link and I am trying to translate date strings such as August, Aug, Sun, Tue using WPML. I have found these strings in the string table and the admin version and translated them, but they are still not getting translated on the webpage.
Symptoms:
Translated date strings are not appearing correctly on the webpage.
Questions:
How can I translate date strings like August, Aug, Sun, Tue in Event Calendar using WPML?
Can you point me to documentation for 'Track where strings appear on the site' and how to highlight the string I am looking for?
2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`
1. As I said in my first message I have done this and translated all the ones I have found yet they still do not appear.
2. I have request this change from the host, but personally do not think this is the issue, the site is small and only a few translations and translation I made later do appear correctly, but the months and days of the week don't!
you have not answered my query on how "Track where strings appear on the site" WHERE and HOW do these string get highlight ? ( see image ) !!
1.- In your original message, you didn't mention that you looked into the admin text section. That is the reason why I recommended following the guide I shared.
Anyways, I kindly ask you to share the access credentials to the site in your next message, which I have set private. This way, I will be able to reproduce the issue and search for the strings.
I ran a few tests, but the issue persists. I kindly ask you to create a staging site with a copy of the live site (you can use WP Staging plugin for free) or authorize me to create the staging site so we can run further tests without affecting the production site.
It is not a live site as yet, this is my testing site so do what ever you need to do please,
thank you for "increasing my WordPress memory limit" sorry I am new to WordPress I did some web development a few years ago so only just getting back in to it and it's changes quite a bit and this is my first Multilingual site.
Yes that looks good, can you tell me what the issue was and where can i find the translated strings, in case I need to change them or some others like them.
These are the steps followed to solve the problem:
- Go to your site installation folder -> Go to wp-content/languages/wpml
- Rename the file wordpress-cy_GB.mo to default-cy.mo
- Go to WPML -> Languages -> Edit languages link -> Change the language code from cy_GB to cy -> Save the changes
Sorry Still a little confused, I looked at wordpress-cy_GB.mo and default-cy.mo
and they only appear to have translations for August "Þ• 4 L L M Q X Y c Aug August Aug Welsh Awst "
But other months have been translated "September -> Medi" for example, I have not done this translation as I just tried to get August working first. so where are these?
and I can't find "Go to WPML -> Languages -> Edit languages link " see screen shot