Translating WP Event Manager

Translating WP Event Manager

WP Event Manager is capable of being translated into any language using the standard wordpress localization methods and is not necessarily to be used in English Language.

All language files are located within the wp-event-manager/languages/ folder. There you can find all language files with extension(.po, mo or .pot). The same languages directory also used for all additional add-ons. We have various languages which have been translated using Google Translate and many of these have been corrected by native speakers.

If your desired language is not currently translated, partially translated or needs correcting, you can edit or create a translation file which will automatically be used when you are viewing the site in this language. If you update a language file, you can send it over to us and we’ll include it in consequent updates for the benefit of all (and so you don’t need to keep replacing the file each update).


Setting up the your Language for the WordPress

We need to tell to the WordPress in which language it should run.

For WordPress 4.0 and above Version

You can change the language from the Admin panel. Settings -> General -> Site Language.

For WordPress 3.9 and below Version

Open your wp-config.php file in a text editor and search for:
    define ('WPLANG', '');

Edit this line according to the .mo file you’ve just downloaded, e.g. for the German spoken in Germany you must add:

    define ('WPLANG', 'de_DE');

Note that if the .mo and .po files don’t exist for a language code called for in wp-config.php then there is no error message, but the code is still used in language_attributes(). This is useful for those of us whose language is similar enough to en_US not to require translation, but who don’t want en-US as the language tag in the blog, instead wanting some other variant of English. For example:

Once you’ve added your language code, save the file. Upload the modified wp-config.php file into the WordPress root directory. Open your browser and go to your WordPress site. It should now display in the newly-installed language.See the complete list of language codes and country codes to find your exact locale.


Translating Using Poedit
  1. Download and install Poedit.
  2. Find the POT file in wp-event-manager/languages/wp-event-manager.pot
  3. Open the POT file in Poedit.
  4. When the setting Window Pops-up choose your desired language and start translating or Click on “Create new translation” button and select Your language to translate the string. Here in example,selected language is German(Germany).
  5. For saving translations in .PO a file, Go to File->Save as or Save and give file name wp-event-manager-de_DE.
  6. When translations will saved into PO file, then automatically also generate the .MO file at wp-event-manager/languages/.
  7. Upload your PO and MO file to wp-content/plugins/wp-event-manager/languages.


Translating Using Poedit



Translating Using Poedit



Translating Using Poedit


Updating your translation PO File from POT file

  1. Open up the .po file by double-clicking it, or opening it from within poEdit.
  2. Go to Catalog -> Update from POT file.
  3. The POT file is located within the wp-event-manager/languages folder of the plugin.


Updating your translation PO File from POT file


Generating an MO File automatically on save

  1. On the menu, go to File -> Preferences -> General Tab.
  2. Be sure that you click “Automatically compile .mo file when saving”.
  3. Click OK.


Generating an MO File automatically on save


Editing/Updating your PO/MO file

  1. Open up the .po file by double-clicking it, or poening it from within poEdit.
  2. Start translation.
  3. Make sure the .po file is also updated.
Translation Using Loco Translate
Loco Translate is a WordPress plugin that provides in-browser editing of PO files used for localizing WordPress plugins and themes. You can then follow the instructions that take you through making a translation.

Translation Using is an online tool for translating content. Contributing to these translations benefits all users since they will be pulled into the plugins when downloaded.

Keep Safe Translation Files Before Upgrade Plugin or WordPress.

It is always good to backup the po and mo files since custom translation files inside the plugin directory are lost during automatic update of the plugin by WordPress.With that in mind, you may want to use one of the following alternative methods of keeping translations upgrade safe.

Put Translation files Inside the WP_LANG Directory

You can put po and mo files in WP_LANG directory to keep the safe from plugin updates. This is usually the wp-content/languages/directory.

So for example, if you were translating the Sell Tickets add-on, you would put your mo file in wp-content/languages/wp-event-manager-sell-tickets/, replacing LOCALE with your language code.

Naming of your MO files must be in the format:

For WP Event Manager,