How to translate XFtoWP into any language

Table of Contents

  • Easy: Translate Strings from the Plugin Settings
  • Comprehensive: Translate All Strings From Poedit and Other Translation Tools
  • Uploading Translation Files to WordPress
  • Contribute Your Language

XFtoWP is build according to WordPress translation standards which makes it possible for anyone to translate the text strings in the plugin to any language.

You can see the list of available languages ready for download from your member’s area, and this quick guide will show you how you can translate the plugin on your own.

Easy: Translate Strings from the Plugin Settings

All strings that appear on the frontend of your website by the plugin can easily be translated from the XFtoWP interface. You can read a tutorial on how to use those settings here.

Edit text strings in XFtoWP

This method is good for making quick translations and text changes around various frontend features of the plugin, but it is not comprehensive and leaves out the entire admin area.

To find out how to translate the entire plugin, keep reading.

Comprehensive: Translate All Strings From Poedit and Other Translation Tools

There is no shortage of translation plugins available in WordPress, but to make the most comprehensive translation I recommend downloading the Poedit desktop application.

Now that you’ve downloaded Poedit, head over to your customer’s area to download the XFtoWP translation string file.

Once downloaded, load the .po file of all the latest English text strings available in the plugin and begin using the interface to translate the text strings into your desired language.

Once you have completed translating the text strings you can export your final work into the following language file name:

A quick explanation of the file name:

  • xfwp is the textdomain used to identify strings in the plugin
  • xx is the lowercase language code
  • XX is the uppercase language code

For example, the language code for the XFtoWP French translation is FR, the Spanish translation is ES, so on and so forth.

Once you have finished the translation files and have named them according to your language, export your work.

Uploading Translation Files to WordPress

Once you have translation files—either your own or downloaded from your customer’s area—you can upload the .mo and .po files to the wp-content/languages/plugins/ folder with an FTP program.

Now that the translation files exist in WordPress, login to your WP admin panel and go to Settings > General > Site Language and change your site language accordingly.

If all went right, you will see the entire XFtoWP plugin, from frontend to backend, translated in your desired language.

Contribute Your Language

Thanks to the efforts of the community around XFtoWP, more plugin translations are starting to become available. If you’ve translated the entire plugin into your own language, please consider sharing it in exchange for a link to your site and recognition for your work.

Please contact Alex at Kolakube Support to send in your translations.