• HOME
  • KNOWLEDGE BASE
  • FAQ
  • CONTACT US
  • HOME
  • KNOWLEDGE BASE
  • FAQ
  • CONTACT US
home/Knowledge Base/How To/Plugin text translation

Plugin text translation

TL;DR

Use Loco Translate plugin or Poedit, translation files will be under /languages folder.

 

WordPress plugin translation is the method with which you can change the text of plugin appearing anywhere to your own language.

There are a lot of ways to add translation to plugin in WordPress, but here we’ll only consider the ones with which you are future proof and don’t lose your changes with any of the plugin or WordPress update.

Method 1 (Loco Translate Plugin)

Easiest method to add translation is to use Loco Translate WordPress Plugin, with this none of your changes will be lost when you update Digits plugin or anything and even managing your translation will be an easy task.

For up-to date documentation to use this plugin please visit their own guide on this https://localise.biz/wordpress/plugin/beginners 

 

Method 2 (Manual File Addition)

There are many translation tools available, such as Localize.biz, GlotPress, Launchpad and Pootle, but we’re going to use Poedit. Poedit is a free, easy to use open source program for Mac OS X, Windows and UNIX/Linux for editing PO files and generating MO files

  1. Download https://poedit.net (free) and install it on your computer.
  2. Double click on digits.pot (you can find this in language folder of digits plugin) to open that file in Poedit
  3. At the bottom, you’ll see a button with the name Create New Translation and then select the language of translation from the drop-down menu
    (If your language has multiple variations and you don’t know which one to select, please select the Main native language, it will be at the top of variations)
  4. After that you can start adding the translations and check the statistics in the footer bar
  5. Save the file after you’ve translated the strings, after saving the file you’ll be provided with two files with extensions .po and .mo
  6. Append digits- infront of those file names (for both .po and .mo file). Below is the example how they’ll look like after name change.

    (here fr_FR represents language code, so it can be different for your language)
  7. Copy paste these files on your website under wp-content/languages/plugins/

 

You can send us those .po and .mo files to us and we’ll add the translation to the plugin itself 🙂

Was this helpful?

14 Yes  11 No
How To
  • Plugin text translation
  • How to place Digits form on any page
  • How to let User Edit their Account Phone Number
  • How to change the link of an existing button to Digits Modal or Page
  • How To Trigger Modal From A Custom Button
  • How to use Digits with Ultimate Membership Pro Forms
View All 9  
Categories
  • Addons
  • Common Errors
  • Gateway Setup
  • Getting Started
  • How To
  • Page/Popup Builder

How to use Digits with Ultimate Membership Pro Forms  

    • Made with ❤ by Humans on 🌎