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 5 replies, has 3 voices.

Last updated by bW-2 3 years, 9 months ago.

Assisted by: Marcos Vinicios Barreto.

Author Posts
June 1, 2020 at 2:52 pm #6266479

bW-2

Checkout field strings appear as translated in translation manager. I also checked this ticket and added the suggested code to WPML->Settings->Custom XML Configuration.
https://wpml.org/forums/topic/field-labels-in-checkout-form-not-translated/

However, the field labels are still in English when using checkout from the Hebrew translation page. hidden link

checkout page 2020-06-01 174654.jpg
June 2, 2020 at 12:03 pm #6273847

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01: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 check these docs and try finding these strings?
https://wpml.org/documentation/getting-started-guide/translating-theme-options/#finding-the-theme-options-and-making-them-translatable
hidden link

In case it doesn't save and end up within String Translation, see this:
https://wpml.org/documentation/getting-started-guide/theme-localization/translating-options-coming-from-themes-and-plugins/

Let us know if you need further help!

Regards,
Bruno Kos

June 2, 2020 at 12:29 pm #6273959

bW-2

As I mentioned in the original request, the strings are already translated. They are part of the standard Woocommerce checkout screen. The cart screen before this screen, and the payment screen after, are all working properly. Other screens and strings all work. Only this one screen is failing to use the translated strings.

This is not part of the admin screen, but a screen that faces the public. I don't understand why you are sending me to resources about string translation when I already explained that the strings were translated successfully, but fail to show on the screen.

woocommerce strings 2020-06-02 152403.jpg
June 3, 2020 at 1:29 am #6278029

Marcos Vinicios Barreto

Hello,

Thank you for the clarifications. I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

June 4, 2020 at 1:48 pm #6294807

Marcos Vinicios Barreto

Hello,

Thank you for the provided details. I checked your website and noticed actually the checkout billing and shipping fields are provided by the 'WooCommerce Checkout Manager' plugin instead of the default WooCommerce fields, so, these the values entered in the plugins options at WordPress Dashboard > WooComemerce > Checkou should be registered for translation using either a custom XML code or via 'String Translation > Translate texts in admin screens' exactly as the resources provided by Bruno explains.

In your case, I adjusted your custom code to match the 'WooCommerce Checkout Manager' option fields found at your WordPress Dashboard > WPML > String Translation > Translate texts in admin screens. I changed your code found at WordPress Dashboard > WPML > Settings > Custom XML Configuration from:

<wpml-config>
    <admin-texts>
         <key name="wc_fields_billing">
            <key name="*">
                <key name="label" />
            </key>
        </key>
    </admin-texts>
</wpml-config>

To:

<wpml-config>
    <admin-texts>
        <key name="wooccm_shipping">
            <key name="*">
                <key name="label" /></key>
        </key>
        <key name="wooccm_billing">
            <key name="*">
                <key name="label" /></key>
        </key>
    </admin-texts>
</wpml-config>

Now you should be able to translate all these fields from your WordPress Dashboard > WPML > String Translation under the text domains 'admin_texts_wooccm_billing' and 'admin_texts_wooccm_shipping'.

References:
https://wpml.org/documentation/getting-started-guide/translating-theme-options/
https://wpml.org/documentation/support/language-configuration-files/#admin-texts
https://wpml.org/documentation/getting-started-guide/string-translation/

Hope it helps to solve your issue, have a nice day.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.