![]() You´ll have to upload both to your theme’s languages folder. Free version comes with a builtin translation memory that remembers your past translations and uses them to make suggestions for similar texts.įor example, translating the language into spanish for the “ Camis WooCommerce Order Upload” plugin. Poedit is a software (available for Windows, Mac and Linux) which you can use to translate the theme or plugin. How to translate a WordPress theme (or plugin).All you can do with these files is to upload or re-upload them whenever you create or update a. MO file is automatically created by Poedit whenever you save a PO file. While a PO file is easy for humans to read, MO files are compiled and are easy for computers to read. MO file includes the exact same contents as PO file. You can check out here to find your language and country codes. Example: if you see a file called es_ES.po, your theme is already translated into Spanish (es) of Spain (ES). Perhaps your theme or plugin is already translated. It´s a translation that someone else started (the author, a professional translator, a WordPress theme user, etc), and maybe completed. PO file includes the original texts and the translations in two columns. Portable Object (PO) and Machine Object (MO) MO files, and with a README.TXT file (instructions for translators)ġ.2. There’s also a premium version available, including translation ‘suggestions’ and semi-automatic localization. For this tutorial, we’re going to be using the free version of Poedit. Sometimes language folder is called lang (not language) and sometimes. Using Poedit to translate your WordPress themes and plugins is remarkably simple once you’ve installed the tool. ![]() POT file can be found in the theme languages folder and in the plugin languages folder. POT file is put at your disposal by the plugin or theme developer and it’s used as a starting point to create new translations. POT file, which contains a list of all the original texts, which need translation. POT file is a list of all the text lines used in the theme files in English languageĭevelopers use tools (like gettext) that scan the PHP source and produce a. The master theme (or plugin) translation file is a. Many WordPress themes are multilingual ready. However, developers don’t always make translation ready themes, so when you use or buy a theme (or plugin) make sure to check it. That’s the common way for WordPress itself and every theme or plugin. WordPress themes are localized using the GNU gettext framework. Text strings can appear in the backend and in the frontend In a PHP file of a theme or plugin, then you need to translate them. Themes and plugins contain text strings that are in files. Translating text strings (PHP files) in themes and plugins A fully localized and translated WordPress website requires translate contents and also text strings in php files. In this article I show you how to translate your WordPress theme (or plugin) using Poedit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |