How to Translate Text in Royal Elementor Addons Widgets
Content
Many users of the Royal Elementor Addons and Templates plugin encounter a common challenge: translating or changing hardcoded text strings within various widgets. This issue frequently appears with elements like WooCommerce sorting options (e.g., "Default sorting"), sale badges ("Sale"), stock status labels ("Out of Stock"), countdown timers ("Days," "Hours"), and mini-cart messages ("was added to cart"). If you've tried using a translation plugin like Loco Translate without success, you're not alone.
Why This Happens
The core of the issue is that some text strings within the plugin are not easily accessible to standard translation methods. This can occur if the strings are dynamically generated, hardcoded, or use a specific text domain that translation plugins struggle to detect. While the Royal Elementor Addons and Templates team designs their widgets to be translation-ready, the process isn't always straightforward for every string.
Common Solutions
1. Check for Built-in Widget Options
Before delving into more complex solutions, always check the widget's settings within the Elementor editor. The plugin team has added direct text fields for many labels. For example:
- In the Woo Grid/Slider/Carousel widget, navigate to Content > Filters > "All" Filter Text to change that label.
- In the Woo Grid/Slider/Carousel widget, go to Content > Elements > Add to Cart > Simple Item Text to modify the "Add to Cart" button text.
- For a "Load More" button in a posts widget, look for a Pagination section with a "Load More Text" field.
These built-in options are the simplest and most update-proof method for changing text.
2. Configure Loco Translate Correctly
For strings without a direct option, a translation plugin is often the next step. Loco Translate is frequently recommended by the Royal Elementor Addons and Templates team. However, it must be configured properly.
- Ensure you are translating the correct text domain. The primary domain for the plugin is typically
royal-elementor-addons. - When creating a translation, set the Custom save location to a safe, non-system path like
languages/locoto prevent your translations from being overwritten by updates. - Some support threads suggest adjusting the plugin's scan settings to a higher memory limit (e.g., 9000K) to help it find all strings.
3. Consider Alternative Translation Plugins
If Loco Translate cannot find a specific string, other plugins like WPML or Poedit might be more effective. These plugins can sometimes detect a broader range of strings and offer different interfaces for managing translations.
4. System-Wide Language Settings
Some text, particularly date formats (e.g., "November") in post grid widgets, is controlled by your WordPress site's general language and formatting settings. Verify that your site language is correctly set in Settings > General and that your preferred date format is configured there.
When All Else Fails
If you have exhausted these options and a specific string remains elusive, the problem may be more complex. In such cases, the Royal Elementor Addons and Templates team often requests detailed system information to replicate and debug the issue. Be prepared to provide your site's health info (from Tools > Site Health > Info) if you need to seek further assistance from the community or the plugin's developers.
Remember, directly editing the plugin's core files is strongly discouraged, as these changes will be completely lost during the next update.
Related Support Threads Support
-
“Woo Grid Sorting” change languagehttps://wordpress.org/support/topic/woo-grid-sorting-change-language/
-
I can’t change Offer Tags in WooCommerce Grid/Slider/Carouselhttps://wordpress.org/support/topic/i-cant-change-offer-tags-in-woocommerce-grid-slider-carousel/
-
Translate Sorting Optionshttps://wordpress.org/support/topic/how-do-i-translate-sorting-options-in-the-woo-grid-slider-carousel/
-
String for ‘Featured’ not foundhttps://wordpress.org/support/topic/string-for-featured-not-found/
-
How to change the text on the “Load More button in the Last Posts sectionhttps://wordpress.org/support/topic/how-to-change-the-text-on-the-load-more-button-in-the-last-posts-section/
-
Translate or Change Labels in countdown widgethttps://wordpress.org/support/topic/translate-or-change-labels-in-countdown-widget/
-
About website product labeling issueshttps://wordpress.org/support/topic/about-website-product-labeling-issues/
-
Language selectionhttps://wordpress.org/support/topic/language-selection-12/
-
Post grid date languagehttps://wordpress.org/support/topic/post-grid-date-language/
-
Royal woo Grid/Slider/Carousel widgethttps://wordpress.org/support/topic/royal-woo-grid-slider-carousel-widget/
-
How to change text of pop-up message @ mini-carthttps://wordpress.org/support/topic/how-to-change-text-of-pop-up-message-mini-cart/
-
How to change “featured” text?https://wordpress.org/support/topic/how-to-change-featured-text/
-
Translation Issue: ‘Filter’ & ‘Price’ in English on Russian Sitehttps://wordpress.org/support/topic/translation-issue-filter-price-in-english-on-russian-site/
-
How to translate Post comments form’s labels?https://wordpress.org/support/topic/how-to-translate-post-comments-forms-labels/
-
How edit badge text?https://wordpress.org/support/topic/how-edit-badge-text/
-
Translate “customer reviews” in “product rating”https://wordpress.org/support/topic/translate-customer-reviews-in-product-rating/
-
Payment by cards of Russian payment systemshttps://wordpress.org/support/topic/payment-by-cards-of-russian-payment-systems/