Explaining the translation of your site and all its elements using Loco Translate
By Admin
If you want to translate your site or store on WordPress into any other language, and are looking for an easy-to-use plugin, the Loco Translate plugin helps you translate all the strange texts and phrases on your site using an easy and simple interface. In this article, we will provide a complete explanation of how to translate your site using the Loco Translate add-on, and how to Arabize all templates (Themes) and plugins (whether those that appear to the user or appear to the site administrator), and save those settings and activate them so that your site is ready to be translated into any language you want. Using Loco Translate to translate your site Let us now explain to you the steps required to use the Loco Translate add-on, to translate all elements of your site from templates or plugins to any other language, using an editor integrated with the WordPress control panel that enables you to discover strange phrases, translate them into the target language, and then save the changes.
We will complete this explanation step by step as follows: Installing and activating the Loco Translate plugin Translating WordPress templates Choosing the language Choosing where to save the translation files Starting the translation process Save the translation Translating WordPress plugins Activating and using the new language files Installing and activating the Loco Translate plugin You can install the plugin by going to the WordPress control panel on your site and then to Add-ons > Themes After that, a page will open for us containing all the templates on the site, where you can choose the template you want to translate yourself, and it is not required to translate all of them. Templates for sure. For example, let us assume that you will choose one of the templates installed as follows: The next step is to choose the language you want. By clicking on New language in the next window, you can select the desired language through the (Choose Language) tab and also choose where to save the new language files. There are 3 options to specify where to save the files: Custom, where the translation files for the new language are saved in the following path: (languages/loco/themes/infinite-photography-ar.po), which means that a special folder will be created within the WordPress languages folder, and the new language file will be stored in a subfolder within System, where the translation files for the new language are saved in the following path: (languages/themes/infinite-photography-ar.po). This means that the files will be saved, within the themes folder, which is located within the folder WordPress languages.
Author, where the new language files are saved in the following path: themes/infinite-photography/languages/ar.po. This means that the files will be saved, within the languages folder of the plugin itself, and not within the main languages folder of WordPress. In general, it is recommended to save files under the Custom option, to ensure that files are not lost when updating plugins or updating WordPress. Then, after updating the language and specifying where to save the files, click on Start Translating, to begin the translation process.
After that, a new page will open for us, through which we will translate the words and texts on the site into the language we previously chose. You will find that the translation editor provides you with the translation process through 3 important parts of the editor as follows: We choose from here the text that we want to translate. The text written in the source or your site. We write a translation of the text into the desired language. For example: If you have a website in Arabic and you use a template designed in English, then after translating the template you find that the texts in the template you use are not all translated into Arabic, and you need to translate some of them yourself. As in the following image, you will find the word (LEAVE A COMMENT), which needs to be translated into (Leave a comment).
We will return to the previous page, search for this desired word (Leave a Comment) and translate it as follows: We write the text to be translated in the search box We write the translation in the space designated for it We press Save to save the translation The result will be as follows: Another example, of translating another text, and with the same previous steps Read also: How to get an Arabized WordPress template? Determine the best option for you. In this way, you can translate all templates and all the texts that appear in them in different cases. Let us move to the next step in translating your site’s additions. Translating WordPress plugins WordPress plugins can be translated, in the same way used to translate WordPress templates, where you will go through your site’s control panel to: Loco Translate >> Plugins, and then choose the plugin that you want to translate into Arabic or any other language.
For example, we will translate the Portfolio add-on. After that, you can add a new language to work on, or choose from the existing languages. After choosing the language, you can start and translate the texts you want, like the previous method. Note: While translating texts, you may see some numbers or special letters. When you translate such words, you must keep those symbols as they are. For example, when translating the word (% Comments), you must keep the (%) sign and only translate the text that follows it to translate it to (% Comments). As these signs or numbers may indicate certain variables. Read also: Explanation of WordPress plugins, their functions, and features | A comprehensive guide for beginners Read also: How to install a WordPress plugin Activate and use the new language files To activate and use the new language files that you have translated, you need to change the WordPress language for your site according to the language you want through the WordPress control panel, by going to: Settings
DROPIDEA
We hope this article has added real value to you. At DROPIDEA, we always strive to deliver high-quality content that helps you grow and evolve in the digital space. Follow us for more useful articles and guides.
Admin
DROPIDEA
Latest Articles
“Nofollow” tag: What it is, how and where it is used, “Infographics”
ASUS ROG Flow Z13 (2025) available: Everything you could dream of in a gaming tablet.
The best 5 sites to download safe computer programs without malware!
Create a forum on WordPress using the bbPress plugin step by step