Translating Plugins

Step 1 – Setting Up WordPress

Change the language in the admin settings screen. Settings > general > Site Language.


Step 2 – Translating language file

Download Poedit

Download this free software; Poedit

Find the po file

The .po file contains all translatable text from a plugin. It is located in “languages” folder. Open it with Poedit and translate the texts.

The name is important because there’s a particular format you should follow for consistency.

Gettext uses the ISO 639 standard for language abbreviations and ISO 3166 for locales. If your translation is written in German for example, your file name will look like de_DE.po. Capitalization is also important here. For a full list of language and country codes, check out these two links:

Gettext language codes

Gettext country codes

WordPress plugins have an additional naming convention whereby the plugin name is added to the filename.


For DV Gallery, it should be;


For DV Team, it should be;


For Dysania Gallery, it should be;


You’ll need to save your file in the languages folder of your plugin.