Search the site:

How to translate Abandoned Cart Pro plugin using .po files

How to translate Abandoned Cart Pro plugin using .po file-abandoned-cart

In order to translate the Abandoned Cart Pro for WooCommerce plugin in different languages, we have provided .pot & .po files for localization. Using these two files, you can translate the plugin strings in different languages.

The .pot file stands for Portable Object Template. This file contains the original strings (in English) of the plugin. The .po file stands for Portable Object. It is an editable text file with the translated strings.

The steps for translating the plugin are described below:

1) Please download the Poedit software.

2) Please select “woocommerce-ac.po” file from Poedit – File – Open menu. This file is located at “/woocommerce-abandon-cart-pro/languages/” folder in the plugin folder.

3) In Poedit, please ensure that File – Preferences – Editor should have “Automatically compile .mo file on save” checked. Please select it and click on the “OK” button.

How to translate Abandoned Cart Pro plugin using .po file - automatic_compile_mo

4) After opening .po file, you need to translate the plugin strings.

How to translate Abandoned Cart Pro plugin using .po file-new_translated

5) After translating the plugin strings, you need to validate all translated strings using the button “Validate” which is displayed at the top of the Poedit menu.

How to translate Abandoned Cart Pro plugin using .po file-new_validate

6) Once it is validated without any errors, you need to save the file to a folder on your computer. At the same location, the automatically generated “.mo” file also will be saved.

7) You need to rename the “.po” file which you have translated & “.mo” file which was automatically generated.

For example: You have translated plugin strings in the Gujarati language then your “.po” & “.mo” files will be named as “woocommerce-ac-gu.po” & “”.

You can check your language code here.

8) You have to copy both renamed files and you have to paste under the “/wp-content/languages/” folder in your WordPress website.

9) Also, you have to copy both renamed files and paste under the “/woocommerce-abandon-cart-pro/languages/” folder.

10) You can go to your WordPress admin panel in Settings – General. From there, you can change the language & see that the strings which you translated will be displayed in the selected language in the Abandoned Cart Pro plugin.

You can create as many language files as you want by following above steps.

For more information on .pot, .po & localization you can check here.

Browse more in: How Tos, Abandoned Cart Pro Plugin for WooCommerce, Documentation
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
from purchased

Subscribe for more offers

Black Friday & Cyber Monday SUPER SALE ALL WEEK:
Grab 40% OFF on plugins and 50% OFF on Bundles
Would love your thoughts, please comment.x