PatioTime Documentation

Translating Theme with Loco Translate

December 3, 2022

You can install this third-party plugin on your website and translate the theme text directly from your website dashboardLoco Translate.

Please read the plugin’s documentation for the detailed user guide:

Get started

When using Loco Translate, on your website dashboard, please go to “Loco Translate” > “Themes” > find “PatioTime” (or “PatioTime Child”, depending on which theme is activated). Click on “PatioTime” then you will be able to add a new language, or edit the translation of an existing language.

Choose a location for translations

When “Initializing new translations”, please find “Choose a location”: you will choose where to save your translation file. (More details can be find here.)

  • Custom – Recommended. This is Loco’s protected folder under “wp-content/languages/loco/” which is safe from automatic updates. If this folder doesn’t exist you may need to create it and ensure it has the correct permissions.
  • System – Files saved here can be overwritten by WordPress’s own language installer. If you have disabled WordPress automatic translation updates, you can select this option.
  • Author – Please do not select this option. If you select this option, your translation file will be saved in the theme folder. Every time you update the theme, all the files in the theme folder will be overwritten, which will cause your translation to be lost.

“What if I choose the incorrect save location for the translations?”

You can change the location for translations. On the editor screen of a language, please click the “Relocate” tab, there you can change the location, and then click “Move Files”.

Translate the strings of the theme

Once on the editor screen you’ll see all the strings included in the .pot file of the theme. The basics of the editor should be fairly intuitive. Select the English string at the top and enter your translation in the pane at the bottom. You just need to enter a translation and save it.

Have questions or problems with Loco Translate?

Please kindly note: Loco Translate is a third-party plugin created and maintained by other authors (not us), when you need help with this plugin, please contact the author of the plugin. This is the support forum for “Loco Translate”.

Close
Close