skip to Main Content

WPML and Save for Later

WPML is a popular plugin for translating the text within your website to various languages for your international customers. WPML and WooCommerce together provide a great platform for selling product world-wide, but that means customers speaking different languages. You will want to ensure that your restocking form and email alerts translate accordingly. Before we get started, if you do not have a copy of WPML, you can purchase one here.

Requirements

  • WPML Multilingual CMS 4.2+
  • String Translation 2.0+
  • WooCommerce Multilingual

Getting Started

Install and activate the necessary WPML plugins (WPML Multilingual CMS, WPML String Translation, WPML Translation Management). Once these have been installed, you will also need to install WooCommerce Multilingual to manage the translations for your ecommerce shop. Set up WPML from WPML->Languages. WPML has a simple three step process to guide you through installation, but if you need any further help, please see the WPML Getting Started Guide for a complete reference.

Translating Displayed Text

When saving your settings, this plugin will scann through the fields and register all text within the Display Text section into WPML’s String Translation feature. Because this information is not part of the post or page structure of WordPress, its translation settings can be found WPML->String Translation. A complex site may contain many strings to translate. Using the display filter, at the top of the String Translation page, filter the Domain to display  ‘be-save-later’. Each registered string is assigned a Name to identify the text with. The Name values for the restocking form text will begin with ‘bes4l_’ and then completed with the ID of the label. For example, ‘bes4l_cart_title’ is the headline text that appears at the top of the saved products list on the cart page.

Click on the translations link to open the translation editor. Be sure to click on ‘translation is complete‘ after you translate. Incomplete translations will not appear in the site.

Not finding the translation you need?

Sometimes the strings you need to translate may not have properly registered themselves, but fear not for there is another way! Visit your string translation settings at WPML->String Translation and scroll down to the bottom of the page. Click on the link Translate strings in admin screens, and search for the missing string using one or more words that can be found in the text. Once found, mark the checkbox next to the desired string or strings, and submit the form by click Apply at the bottom of the form. Now when you return to your String Translation settings page, the missing string should now be visible and ready for translation.

Deleting the Translation

Perhaps you not longer use a certain shipping title and wish to remove the strings associated with it. Simply select the strings you want to remove and click “Delete”. Learn more about String Translation

  • Was this article helpful ?
  • yesno
0 out of 0 visitors found this article helpful
Views: 26
Back To Top