Using your own translation files

This short guide will show you how to translate Easy Digital Downloads into your own language.

1. Create your translation file. 

Using  POEdit, open the file in the Easy Digital Downloads plugin found here:

wp-content/plugins/easy-digital-downloads/languages/easy-digital-downloads.pot

Now that you have the file open in POEdit, enter your translations into POEdit and then save your translation by going to "File" > "Compile to MO". Save the file so it sits in this directory: 

wp-content/languages/plugins/easy-digitaldownloads/

If your language is German, the filename has to be

easy-digital-downloads-de_DE.mo

Take note of the last part of the filename (de_DE) as it will change based on your language. This is called a "WP Locale". You can find your language's WP Locale by looking at the WP Locale column in the  language listhttps://make.wordpress.org/polyglots/teams/

For example, if your language is France French the file name would be:

easy-digital-downloads-fr_FR.mo

If your language is Canadian English the file name would be:

easy-digital-downloads-en_CA.mo

2. Change the language your WordPress uses. 

To do this, log into your WordPress dashboard and go to "Settings" > "General" > "Site Language". Change it to your language and your translation files will be used. 

Note that by default Easy Digital Downloads comes with 120 languages, but if yours isn’t included, you will need to create your own by following the steps above.