Creating Translation Files

Translating

ACADP is capable of being translated into any language using the standard wordpress localization methods.

All language files are located within the “languages” folder of the plugin. By default “Advanced Classifieds & Directory Pro” comes with “English”, but if you use a different language, you will need to create a translation file which will automatically be used when you are viewing the site in your language.

There is a very popular and easy to use program called POEdit that provides a simple tool for creating translation files.

Locating the POT file

The POT file is located in the “{wp root}/wp-content/plugins/advanced-classifieds-and-directory-pro/languages” folder for ACADP.

Translating your own language

  1. Open up poEdit
  2. Go to File => New catalog from POT file
  3. When the setting Window Pops-up choose your desired language and start translating.
  4. To save a .po file, go to File => Save As
  5. A .mo file will be automatically generated upon saving alongside your newfile, otherwise save again as a .mo file too

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 “languages” folder of the plugin

Generating an MO File automatically on save

  1. On the menu, go to File => Preferences => Editor Tab
  2. Be sure that you click “Automatically compile .mo file on save”
  3. Click OK

Editing/Updating your PO/MO file

  1. Open up the .po file by double-clicking it, or opening it from within poEdit
  2. Start translation
  3. Make sure the .po file is also updated

Submitting your translation

Once you’ve translated the file, why not send it to us to info@pluginsware.com?

By doing this you’re helping the community and also making sure your site remains translated when automatically updating the plugin.

Scroll to Top