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 thread is resolved. Here is a description of the problem and solution.

Problem:
I am trying to translate the strings of WooCommerce Products Filter (https://wordpress.org/plugins/woocommerce-products-filter/) and TM WooCommerce Compare & Wishlist (https://wordpress.org/plugins/tm-woocommerce-compare-wishlist/).
Solution:
In order to translate WooCommerce Products Filter, you can check this article https://products-filter.com/working-with-wpml/. As for the second plugin, you can copy the following code to WPML → Settings → Custom XML Configuration tab:

<wpml-config>
  <admin-texts>
    <key name="tm_woowishlist_enable"/>
    <key name="tm_woowishlist_show_in_catalog"/>
    <key name="tm_woowishlist_show_in_single"/>
    <key name="tm_woowishlist_add_text"/>
    <key name="tm_woowishlist_added_text"/>
    <key name="tm_woowishlist_page_btn_text"/>
    <key name="tm_woowishlist_empty_text"/>
    <key name="tm_woowishlist_cols"/>
  </admin-texts>
</wpml-config>

This topic contains 6 replies, has 2 voices.

Last updated by rafalP-12 2 months, 3 weeks ago.

Assigned support staff: Radu.

Author Posts
July 20, 2019 at 11:19 pm #4250567

rafalP-12

Tell us what you are trying to do?
Translate strings that are used in plugin WOOF.
https://wordpress.org/plugins/woocommerce-products-filter/
Also strings that are used in TM Wishlist.
https://wordpress.org/plugins/tm-woocommerce-compare-wishlist/

Is there any documentation that you are following?
No

Is there a similar example that we can see?
I made a video with what I mean for WOOF
hidden link
And for TM Wishlist
hidden link

What is the link to your site?
hidden link

July 21, 2019 at 7:15 am #4251527

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Rafal,

Let's take of each plugin, one at a time. First, I checked the compatibility status between WPML and WOOF and it seems that everything should work great between these two (https://wpml.org/plugin/woof-woocommerce-products-filter/). Can you try to translate the taxonomy labels as explained here hidden link and tell me how things work this time, please?

Thanks,
Radu

July 21, 2019 at 2:20 pm #4252397

rafalP-12

Hi Radu,

Thank you, it worked great. Now how about another plugin?

Regards,
Rafal

July 22, 2019 at 9:40 am #4255533

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Rafal,

Once you give me access to the dashboard area on the other ticket, I'll have a look at these strings too. Just give me a heads-up here once you send me the credentials and I'll check things out.

Thanks,
Radu

July 22, 2019 at 7:44 pm #4261057

rafalP-12

I send credentials on another topic.

July 24, 2019 at 6:20 am #4270541

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Rafal,

Can you copy the following code:

<wpml-config>
  <admin-texts>
    <key name="tm_woowishlist_enable"/>
    <key name="tm_woowishlist_show_in_catalog"/>
    <key name="tm_woowishlist_show_in_single"/>
    <key name="tm_woowishlist_add_text"/>
    <key name="tm_woowishlist_added_text"/>
    <key name="tm_woowishlist_page_btn_text"/>
    <key name="tm_woowishlist_empty_text"/>
    <key name="tm_woowishlist_cols"/>
  </admin-texts>
</wpml-config>

to Dashboard → WPML → Settings → Custom XML Configuration tab and try again to translate the Add to Collection text in String Translation, please? I just did this on my side and everything works very well. Please let me know how it works for you.

Thanks,
Radu

July 24, 2019 at 3:24 pm #4276083

rafalP-12

My issue is resolved now. Thank you!