Guides

How to Use Custom Translations in AnyComment?

By January 26, 2019 4 Comments

Sometime, it is required to change translations for AnyComment. For example, for e-shop, it would be relevant to change “Author” label to”Agent” or “Support”. In this post, I would like to show you how it is possible to make.

For start

  1. Go to admin panel
  2. “Plugins” – “Add New”
  3. In the search bar at the top right, enter “Loco Translate”
  4. Install and activate it
  5. In the left menu, find new item called “Loco Translate”
  6. Hover over it and select “Plugins”
  7. Find and click on “AnyComment”
  8. Then click on “New language”
  9. In “1.Choose a language:” select a language you would like to change, for example English
  10. In “2. Choose a location:” select “Custom”
  11. Then click “Start translating”

Do I have to translate everything?

Short answer is “maybe”. At this moment, we created new language and it will be prioritized. AnyComment already has a few of languages translated and most of the time, you just want to change a few strings. For this reason, you may download ready-to-go archive and translate what you wanted to change.

You can do it by following this instruction:

  1. Go here, check whether your language is listed, if not, you may skip this part of instruction
  2. if there is such language, click on “zip” to download language archive
  3. Then go to “/wp-content/languages/loco/plugins”
  4. Replace files from archive with ones in the folder from previous step. By doing this, you simplify translation process for yourself as most of the strings would be already translated

Translating Strings

  1. In the left menu (inside admin panel), find new item called “Loco Translate”
  2. Hover over it and select “Plugins”
  3. Find and click on “AnyComment”
  4. Find row with column “Folder” where it says “Custom” – this is the one you created at the beginning
  5. Most of the strings should be already translated (if you found your language and replaced language files with those from archive in “Do I have to translate everything?” step
  6. Next step is just change string which you would like to adjust and check the website for changes

Questions

If you have any questions, write a question below this post. We will help you to solve your issue.