![]() There is one more step before moving the language files. Similarly, depending upon what you are translating, you will need to create another directory ( themes or plugins) inside of the “languages” directory. ![]() If you can’t find the “languages” directory inside of wp-content. Now, we just need to move them to the “wp-content/languages/themes” directory inside the WordPress installation directory of your server. So, we have fr_FR.po and fr_FR.mo files ready. mo file is the binary file that the machine can read and it is generated from the. When you are done with translations, click on the “Validate” and then the “Save” button. Here, you will also be able to see translation suggestions for the text.To do so, click on the text and write its translation in the “Translation” field below. After selecting the language, you can start translating the text.So, select the language in which you want to translate. Now, you will be asked for a translation language.In this case, the file name is “galaxis.pot”. Open Poedit and click on “Create new translation”.Download and install Poedit as per your operating system.Once, you have found the language file, download it to your local PC. In this case, it’s the “galaxis.pot” file. ![]() Generally, these files are inside of the language or lang directory of the theme. So, we just need to look up for language files (.pot or. Here, you will find all the theme files and folders. In this case, the name of the directory is “galaxis”. And, inside this directory, we will open the directory with the theme. Let’s assume we are going to translate a theme named “Galaxis”, so we will open the “themes” directory. In the plugins directory, you will find all the installed plugins and installed themes in the themes directory. Here, you will see the “plugins” and “themes” directories. Now, in the WordPress installation directory of your server, navigate to the “wp-content” directory. You can use this plugin to translate any WordPress themes or plugins that are ready for translation. Loco Translate is a WordPress plugin that allows you to edit WordPress translation files of any theme or plugin in your browser and also integrate them with automated translation services. po file to write the translation of plugin or theme into our language. So, the author may provide the actual translation into some language (.po file), or just the. po file contains the actual translation and the. pot (portable object template) file or the. Now, to check if the plugin or theme is translation-ready, we need to check if the author of the plugin or theme has provided the. The plugin or theme needs to be translation-ready before we can translate it to a different language. In this guide, you will learn how to translate a WordPress plugin or theme into your language using Poedit which is a free program to write translations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |