Categories
Categories

Localization

Translate Solid Affiliate into your language
Last updated on April 28, 2022

Solid Affiliate is fully translatable and supports several languages out-of-the box. If your language is not included, don’t worry! The entire plugin can be easily translated using common tools such as Poedit or Loco Translate.

Translating Solid Affiliate using Loco Translate

Loco Translate is a completely free WordPress plugin that provides in-browser editing of WordPress translation files and integration with automatic translation services. In order to install it, simply navigate to the Plugins → Add New section of your admin dashboard, search for Loco translate, install and activate it.

  1. Go to Loco Translate → Home.
  2. Under Plugins, click on Solid Affiliate.
  3. Choose a language by selecting it from the list of languages WordPress knows about. If your language is not in the list (or if you just prefer) you can enter the locale code in the text field instead.

    When choosing a location for your translation files, please avoid saving files in locations managed by WordPress updates. Your files may be overwritten or deleted.
  4. Edit translation files directly in WordPress admin and save them to the correct file formats for WordPress to use.

  5. Make sure your language has been selected in WordPress admin settings. You’re all set!
For more details about Loco translate, please refer to their Loco translate on adding some custom translations to a theme or a plugin.

Translating Solid Affiliate using Poedit

Solid Affiliate can be easily translated into your chosen language if a translation does not already exist within the plugin. Using Poedit will require installing a 3rd party software on your computer, and access to your WordPress installation files (Via FTP, or directly using your host file manager).

  1. Download and install Poedit.
  2. Open Solid Affiliate plugin zip file, and navigate to the languages folder (solid_affiliate/assets/lang) and open the solid-affiliate.pot file within Poedit.
  3. Go to File → Save As to save your translations in a .po file. Label the file with your country code included. For example, the Polish translation files are called solid-affiliate-pl_PL.mo and solid-affiliate-pl_PL.po.
  4. Start editing the translation to your language. When you are finished translating, go to File → Save As again to generate the .mo file.
  5. Use FTP or your hosting file manager to place these 2 files in your /wp-content/languages/solid-affiliate folder (create one if it’s not there).
  6. Make sure your language has been selected in WordPress. You’re all set!

Contributing a translation

Our team at Solid Affiliate work collaboratively on language packs using with customers and translators from all around the world. If you see an error or non-translated term in our plugin in your language, you can contribute a correction or translation via the by opening a support ticket so we can include them in a future plugin update.