Last modified by eMDPlugins - 8 months ago
2 Views
1 min read

How can I translate your plugins using Loco Translate WordPress plugin?

Loco Translate WordPress plugin offers an easy way to translate pot files. Every emdplugins.com WordPress plugin comes with two pot files which need to be translated to fully translate the plugin strings to your language.

Check out docs.emdplugins.com  and the Localization (l10n) section of your plugin to see the exact file names to be translated.  Follow the steps below to create translation sets in Loco Translate;

  1.  Click on Loco Translate menu Plugins page
  2.  Find the plugin you want to translate from the list and click on the link
  3.  Click on Advanced tab and add a set
  4.  For the first set, enter a project name
  5.  For the plugin text domain,  enter the name of the pot file name without the .pot extension. For example,  for WP Ticket Enterprise it is "wp-ticket-ent".
  6.  Enter the text domain value for the File prefix
  7. Enter lang/POT-FILE-NAMe for the template file. For example, For WP Ticket Enterprise it is "lang/wp-ticket-com.pot"
  8. For the domain path, Enter "lang"
  9.  For the second set, enter a project name
  10. For the plugin text domain,  enter the name of the second pot file name without the .pot extension. For example,  for WP Ticket Enterprise it is "wp-ticket-ent-emd-plugins.pot". As you may have guessed, we just added "-emd-plugins" to the text-domain.
  11. Enter the text domain value you entered at #10 for the File prefix
  12.  Enter lang/POT-FILE-NAMe for the template file. For example, For WP Ticket Enterprise it is "lang/wp-ticket-ent-emd-plugins.pot"
  13. For the domain path, Enter "lang"
  14.  Click "Save config" button
  15.  Click Overview tab and start translating both files as shown in the plugin instructions.
Was this information helpful?