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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Andreas W. 1 day, 7 hours ago.

Assisted by: Andreas W..

Author Posts
November 4, 2024 at 8:51 pm #16363369

ronaldS-22

Background of the issue:
I have been very happy with WPML so far, but have discovered an issue with translating Elementor Price Tables. The currency and price is not showing up as an option to translate. I have tried searching for these values under WPML > String translation, but they are not there either. I did try to enable "Look for strings while pages are rendered" but no luck.

The affected pages are (default language is Norwegian)
hidden link, hidden link (english), hidden link, hidden link (english)

Symptoms:
The currency and price in Elementor Price Tables are not showing up as an option to translate.

Questions:
How can I translate the currency and price in Elementor Price Tables using WPML?
Why are the currency and price not appearing in WPML > String translation?

November 5, 2024 at 10:30 pm #16369325

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Did you already try to search for amount and currency symbol using the search field in the top section of the WPML Advanced Translation Editor?

If this will not solve the issue, please let me know.

Best regards
Andreas

November 5, 2024 at 10:57 pm #16369353

ronaldS-22

It doesn't appear in the WPML Translation Editor, then I would have noticed it, don't you think? Searching for it does not find anything.

advanced-translation-editor.png
November 5, 2024 at 11:47 pm #16369401

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Thank you for the confirmation!

I will try to recreate this issue on a new test site and then get back to you.

November 5, 2024 at 11:51 pm #16369402

ronaldS-22

Thank you for looking into this!

I will happily add you to the site if you want to take a closer look.

November 6, 2024 at 1:49 am #16369571

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Please add this markup at WPML > Settings > Custom XML Config:

<wpml-config>
	<elementor-widgets>
  	<widget name="price-list">
    	<fields-in-item items_of="price_list">
      	<field type="Pricing list: title">title</field>
        <field editor_type="AREA" type="Pricing list: description">item_description</field>
        <field editor_type="LINE" type="Pricing list: price">price</field>
        <field editor_type="LINK" type="Pricing list: link" key_of="link">url</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

Now open the page in Elementor, edit the price list widget, save the page and open the WPML Translation Editor.

I will forward this config to our compatibility so that we can take care of updating the config for Elementor.

November 6, 2024 at 1:13 pm #16371875

ronaldS-22

I have added the Custom XML, edited pages with price table in them, made small changes here and there (including the price table itself) but WPML does not appear to register any of this.

There is still no option to translate these strings/values from the translation editor, nor does these values appear in the string translation option.

November 6, 2024 at 2:42 pm #16372724

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

This is odd. As you can see on my test site, it worked.

One-Click-Login:
hidden link

I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

November 6, 2024 at 6:08 pm #16374264

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Sorry for the misunderstanding. I created a config for "Price List", while you are using "Price Table".

Here is an updated config:

<wpml-config>
  <elementor-widgets>
    <widget name="price-list">
      <fields>
        <field>price_list</field>
      </fields>
      <fields-in-item items_of="price_list">
        <field>title</field>
        <field>item_description</field>
        <field>price</field>
        <field>link>url</field>        
      </fields-in-item>
    </widget>
    <widget name="price-table">
      <fields>
        <field>heading</field>
        <field>sub_heading</field>
        <field>currency_symbol</field>
        <field>price</field>
        <field>period</field>
        <field>features_list</field>
        <field>button_text</field>
        <field>footer_additional_info</field>
        <field>ribbon_title</field>
      </fields>
      <fields-in-item items_of="features_list">
        <field>item_text</field>        
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

The issue with this is, that we can not translate the currency dropdown exactly, as it does not include any text. You will need to translate the option value, like for example USD is "dollar" and EUR is "euro". Also, this only seems to work if the original content is not using USD.

I am escalating both issues to our compatibility team for further revision.

November 22, 2024 at 10:23 pm #16435422

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Could you please let us know if you need further assistance about this reported issue?

Best regards
Andreas