Skip Navigation

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.

This topic contains 4 replies, has 3 voices.

Last updated by Yvette 3 months, 2 weeks ago.

Assigned support staff: Yvette.

Author Posts
May 27, 2020 at 3:01 pm #6230549

kitC

Dear sir,

I am using Checkout Field Editor (Checkout Manager) for WooCommerce by By ThemeHigh.

I have created "wpml-config.xml" below. BTW ... I can't found the string translation of the sub key name "billing_identity", "billing_others", "billing_year" & "billing_major".

I can translated sub key "additional_remarks" seccussfully.

I also want to translate the sub key"billing_identity" options too.

Could you help to take a look my coding that is something wrong??

========== My Code below ===========

<wpml-config>
<admin-texts>
<key name="wbs_config">
<key name="rules">
<key name="*">
<key name="meta">
<key name="title"/></key>
</key>
</key>
</key>
<key name="wc_fields_additional">
<key name="additional_remarks">
<key name="label"/>
<key name="placeholder"/></key>
</key>
<key name="wc_fields_additional">
<key name="billing_identity">
<key name="label"/>
<key name="placeholder"/>
<key name="options"/></key>
</key>
<key name="wc_fields_additional">
<key name="billing_others">
<key name="label"/>
<key name="placeholder"/></key>
</key>
<key name="wc_fields_additional">
<key name="billing_year">
<key name="label"/>
<key name="placeholder"/></key>
</key>
<key name="wc_fields_additional">
<key name="billing_major">
<key name="label"/>
<key name="placeholder"/></key>
</key>
</admin-texts>
</wpml-config>

===============================

Cheers

Kit

May 29, 2020 at 9:16 am #6247705

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support!

While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.

Can you try generating your XML like this?
https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/#how-do-i-generate-language-configuration-files-using-multilingual-tools

So try finding all of your fields within wc_fields_additional.

Specifically using this:
https://wpml.org/wp-content/uploads/2016/04/set-admin-text-to-be-translatable-768x347.png

You can get the plugin here:
hidden link

Regards,
Bruno Kos

May 29, 2020 at 9:49 am #6248193

kitC

Hi Bruno Kos,

Sorry ... I think I have something wrong to you.

I am using Checkout Field Editor (Checkout Manager) for WooCommerce by By ThemeHigh.

I have customized XML configuration. WPML > Setting > Custom XML configuration.

========== My Code below ===========

<wpml-config>
<admin-texts>
<key name="wbs_config">
<key name="rules">
<key name="*">
<key name="meta">
<key name="title"/></key>
</key>
</key>
</key>
<key name="wc_fields_additional">
<key name="additional_remarks">
<key name="label"/>
<key name="placeholder"/></key>
</key>
<key name="wc_fields_additional">
<key name="billing_identity">
<key name="label"/>
<key name="placeholder"/>
<key name="options"/></key>
</key>
<key name="wc_fields_additional">
<key name="billing_others">
<key name="label"/>
<key name="placeholder"/></key>
</key>
<key name="wc_fields_additional">
<key name="billing_year">
<key name="label"/>
<key name="placeholder"/></key>
</key>
<key name="wc_fields_additional">
<key name="billing_major">
<key name="label"/>
<key name="placeholder"/></key>
</key>
</admin-texts>
</wpml-config>

===============================

BTW ... I can't found the string translation of the key name "billing_identity", "billing_others", "billing_year" & "billing_major".

I can translated key "additional_remarks" seccussfully.

I also want to translate the key "billing_identity" options too.

Could you help to take a look my coding that is something wrong??

Cheers

Kit

May 31, 2020 at 3:11 pm #6260643

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello

I´ll be helping you.

1. ) Temporary Access to your system
Please provide access to your system (wp-admin and ftp) so that I can further investigate this particular problem. The fields to provide this data are included in a private section that I will open for your next response. You can find it above the comments area. The information in this private section is only visible between WPML Support and you.

2. Please provide navigation steps or a URL for me to see the untranslating strings on your frontend.

June 2, 2020 at 8:22 am #6271695

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

I added the following to your WPMl > Settings > Custom XML Configuraiton tab.

 <key name="wc_fields_billing">
      <key name="billing_first_name">
        <key name="label"/>
      </key>
      <key name="billing_last_name">
        <key name="label"/>
      </key>
      <key name="billing_identity">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options">
          <key name="ccs"/>
          <key name="ccts"/>
          <key name="cca"/>
        </key>
      </key>
      <key name="billing_others">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_year">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_major">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_company">
        <key name="label"/>
      </key>
      <key name="billing_country">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_address_1">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_address_2">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_city">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_state">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_postcode">
        <key name="name"/>
        <key name="label"/>
        <key name="placeholder"/>
        <key name="options"/>
      </key>
      <key name="billing_email">
        <key name="label"/>
      </key>
    </key>

The strings are now registered for translation. I hope this works for you.