Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are working on a site under development and trying to translate Germanized Free Strings using WPML, but the translation does not work.
Solution:
We recommend following these steps to resolve the issue:
1. Add the following XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config><admin-texts><key name="woocommerce_gzd_legal_checkboxes_settings"></key><key name="*"><key name="admin_name"></key><key name="admin_desc"></key><key name="label"></key><key name="error_message"></key><key name="confirmation"></key></key></admin-texts></wpml-config>

2. Navigate to the WPML >> String Translation page and search for the checkbox text.
3. If the English language is assigned to the German string, select that string and assign the German language using the "Change the language of selected strings" dropdown.
4. Add the test translation to see if it displays correctly.
For more detailed guidance, please refer to the documentation on how to change the source language of strings.

If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, please do not hesitate to 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.

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by haraldK-9 2 months ago.

Assisted by: Noman.

Author Posts
March 11, 2025 at 10:08 am

haraldK-9

Background of the issue:
I am working on a site under development and trying to translate Germanized Strings using WPML.

Symptoms:
Germanized Free String translation does not work.

Questions:
Why are the Germanized Free Strings not translating?
Is there a solution for the free version similar to the one provided for the pro version in the documentation?

March 11, 2025 at 12:02 pm
March 11, 2025 at 6:57 pm #16803680

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I’m able to translate it by following the below steps:

1. Added below XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <admin-texts>
    <key name="woocommerce_gzd_legal_checkboxes_settings">
      <key name="*">
        <key name="admin_name" />
        <key name="admin_desc" />
        <key name="label" />
        <key name="error_message" />
        <key name="confirmation" />
      </key>
    </key>
  </admin-texts>
</wpml-config>

hidden link

2. Went to the WPML >> String Translation page, searched for the checkbox text.

3. I noticed that the English language was assigned to the German string, so I Selected that string, and assigned the German language using the “Change the language of selected strings” dropdown as you can see in the attached screenshot.

4. Added the test translation and now it seems to be shown correctly.

You should be able to update the translation from here: hidden link

Could you please check and confirm?

Here is a doc for more details:
https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

Please let me know the results,
Thank you for your cooperation and patience

EN string.jpg
German string.jpg
assgn correct language.jpg
March 12, 2025 at 9:55 am #16806084

haraldK-9

I can confirm this works. But why we have to add that manually?
Thank you!