[Resolved] Some string translations are only shown in frontend when
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate a string for a WooCommerce Product Taxonomy to other languages, but the translation does not appear on the frontend unless 'Look for strings while pages are rendered' is active. For example, instead of 'Color', 'Farbe' (the original string) is displayed. Solution: We found that the
wordpress-en_US.l10n.php
file in your site's directory might be outdated. We recommend renaming or deleting this file located at
file to be loaded instead, potentially resolving the issue.
If this solution does not work or seems irrelevant due to it being outdated or not applicable to your case, we highly 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.
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 trying to translate a string, which is the name of a WooCommerce Product Taxonomy via string translation to 2 other languages. The issue can be seen on this page: hidden link
Symptoms:
Some string translations are only shown in frontend when "Look for strings while pages are rendered" is active. Instead of seeing "Color", I still see "Farbe", which is the original string.
Questions:
Why are some string translations only shown when "Look for strings while pages are rendered" is active?
How can I ensure the translated string "Color" appears instead of the original string "Farbe"?
I tried to disable all non WPML plugins but the site now has a critical error. Can you check the debug log and let me know what the error is? Then, you can rename the plugins folder and that should allow you access to the site again.
You can also include FTP access in your next reply so that I can do these steps on the beta site while I continue testing.
I will take over for Rasti since he's not here this week. I've set up a development site with an FTP user. How can I make a post private? Otherwise I cant send the login data.
The credentials for WordPress are not owrking for me. Please see attached screenshot. You can update the previous reply if you need to change the credentials.
I was able to login and noticed you are using an outdated version of WooCommerce. Please update WooCommerce and all active WPML plugins to the latest versions. Let me know once that is done and I'll be happy to continue troubleshooting. Thanks!
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.