Home›Support›English Support›[Resolved] Translated admin_texts_woocommerce_gzd_legal_checkboxes_settings not showing on frontend
[Resolved] Translated admin_texts_woocommerce_gzd_legal_checkboxes_settings not showing on frontend
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate the string from the 'admin_texts_woocommerce_gzd_legal_checkboxes_settings' domain using the WooCommerce Germanized plugin. You expect to see the English translation of the legal checkboxes in the English checkout, but the German strings appear instead, despite being translated to English. Solution: We recommend following the steps outlined in the erratum for the Germanized translation of legal checkboxes. You can find the detailed instructions here: https://wpml.org/errata/germanized-translation-of-legal-checkboxes/.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please do not hesitate to open a new support ticket. We also 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. For further assistance, you can contact us directly through our 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 trying to translate the string of the 'admin_texts_woocommerce_gzd_legal_checkboxes_settings' domain from the WooCommerce Germanized plugin. The issue can be seen on this page: hidden link.
Symptoms:
I expected to see the English translation of the legal checkboxes in the English checkout, but instead, I got the German (main language) string even though the strings are already translated to English.
Questions:
Why are the translated strings not showing on the frontend?
How can I ensure the English translation appears instead of the German string?
WooCommerce Germanized stores the checkbox labels in a serialized options array (woocommerce_gzd_legal_checkboxes_settings).
WPML translates that option on‑the‑fly — but only if:
The option has been saved at least once while WPML’s current language was EN, so WPML could “catch” the strings, and
in WPML → String Translation and the EN texts are marked Translated.
If the option was saved only in German, or the strings were translated but WPML’s option filter fires too early (sometimes happens after caching or object‑cache), the front‑end gets the original German value.
See if following the steps below fixes the issue:
1. Register the option strings.
• Go to WPML → String Translation and click the link “Translate texts in admin screens” at the bottom.
• Tick woocommerce_gzd_legal_checkboxes_settings and press Apply.
2. Translate those strings.
• Back in WPML → String Translation, filter by the domain admin_texts_woocommerce_gzd_legal_checkboxes_settings.
• Enter the English versions for every checkbox label and save; their status should switch to Translation complete.
3. Clear WPML and WordPress caches.
• Open WPML → Support → Troubleshooting and run Clear the cache in WPML (also Remove ghost entries for good measure).
• Visit Settings → Permalinks and click Save Changes once to flush rewrite rules.
4. Resave the Germanized settings while your admin profile is set to English.
• In Users → Profile, set Language to English and update your profile.
• Go to WooCommerce → Settings → Germanized → Legal Checkboxes and press Save (no content change needed).
• This forces WordPress to load the option with the English context, letting WPML insert the translated strings and cache them.
5. Test the checkout in English.
• Open hidden link in a private window.
• The checkbox labels should now appear in English instead of German.
If the labels are still in German after these steps disable any object/Redis cache, repeat step 4, then re‑enable the cache.
I followed the steps you provided, but the translation still does not appear on the frontend. I then deleted all the strings from woocommerce_gzd_legal_checkboxes_settings and re-added them using the snippet mentioned above. This time, I entered the text in English and translated it into German—but the translations are still not showing on the frontend.