This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate the Filter Everything sorting shortcode (fe_sort) used in your shop page with Elementor's Shortcode widget, but are unsure how to proceed. Solution: First, refer to our general guide on translating shortcodes with WPML here: https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/. Next, use WPML's String Translation to locate and translate the shortcode strings. Detailed steps can be found in our documentation:
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum: https://wpml.org/forums/forum/english-support/.
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.
<b>Background of the issue: </b>
I'm trying to figure out how to translate the Filter Everything sorting shortcode (fe_sort). I've added it to my shop page and am not quite sure what the best approach is. I've found this documentation: hidden link. However, I'm using Elementor and its Shortcode widget.
<b>Symptoms: </b>
Not sure how to translate the strings in the Filter Everything sorting shortcode (fe_sort) using Elementor's Shortcode widget.
<b>Questions: </b>
How can I translate the strings in the Filter Everything sorting shortcode (fe_sort) using WPML?
Is there any specific documentation for translating shortcodes with WPML?
As another solution based on the link you shared, it could be possible to create two identical shortcodes for each language and utilize IDs to indicate the shortcode for each language.
I saw and read the documentations. The Filter Everything documentation suggests to create WordPress widgets, which get separate IDs which than can be used for translation afterwards. I use Elementor Hello Theme, which does not come with widget support out of the box (?). So, i can't create widgets and use them for translation.
I added a shortcode widget in Elementor Editor and then simply pasted [fe_search] in it.
I also scanned the FE plugin but still can't see the strings i'd like to translate.
I'm a bit confused because all the suggested methods, regarding shortcode translation, rely on a attribute like ID or url, which i don't see or can't figure out.
This is why i'm stuck with this one :/
How can i translate a shortcode without any attributes?
I saw and read the documentations. The Filter Everything documentation suggests to create WordPress widgets, which get separate IDs which than can be used for translation afterwards. I use Elementor Hello Theme, which does not come with widget support out of the box (?). So, i can't create widgets and use them for translation.
On this step, I suggest you contact Filter Everything support and clarify how it can be achieved with Elementor.
I want to ensure you know this note from our compatibility team:
Please note: Although Filter Everything declares compatibility with WPML, we have not been able to make formal contact with the author despite our best efforts. We have received some related issues in our support forum, but in order to resolve them, we need to get cooperation from the author. If you would like better compatibility between WPML and Filter Everything, please encourage the author to reach us via Go Global.
You can try to avoid specifying attributes. I'm unsure how Filter Everything shortcode works; it might pull data from parts of your website where adding config won't help. You might still need to create another shortcode and use IDs.
For now i've managed to fix this by using the Dynamic Condition PlugIn, which i have installed anyway.
I've added two Elementor Shortcode widgets to the page where the sorting [fe_sort] shortcode is used, one in DE and one in EN.
Afterwards i added a condition to show or hide one or the other depending on the URL: contains or not contains domain.com/en/.
This feels more like a workaround but it does it's job for now.
I couldn't find a way to get the IDs to translate the shortcode using WPML :/.
Maybe this is useful for anybody else struggling with this :).
Thank you for the update. It's good to know that it's working now. Have a great day!
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.