Now Login to your WordPress dashboard > setting > Choose a language to translate.From the menu offered, browse to your desktop and select the. From the PoEdit menu, click 'Create New Translation'. Once everything is done click on “Save” zip file, navigate to the memberpress//i18n folder, then cut and paste the memberpress.pot file onto your desktop.Click on Edit > Find (Ctrl + F) and write the string name that you want to translate.Once you select the file, now you can select the language you want to translate. From your plugin package move to the language folder.Open Poeedit and click on “Create New Translation”. mo file because the machine can only read the binary files like. First of all, download the free version of Poedit software & install it on your system.īy using Poedit you need to open. Using Poedit you can easily translate WordPress Plugins into different languages. This becomes the source text that you give to your translator. The way it should work is that it finds all the text in your source code that's wrapped in the marker string that you configure. Save your work and check changes on your site.Poeedit is a multiplatform gettex catalog editor to aid the process of language localization. You have to do a little configuration with it and it's not the easiest. Now, click on every string one by one and translate it to the language of your choice. Click on any string you want to translate, in the bottom text input area add your translation. Then select the location of your translation and start translating the plugin. Please remember that you also have to choose this language from Settings > General to show translation on your site. Secondly, click New Language and select your language from a dropdown. Let's translate the Flexible Invoices for WooCommerce plugin with Loco Translate!įirst, choose the plugin, list all active plugins, and click Flexible Invoices for WooCommerce. Finally, install and activate the plugin. And find Loco Translate on the bottom left of your Dashboard. It is entirely free, so all you have to do is install it on your site. Loco Translate is a plugin to manage your translation directly from the WordPress dashboard. Both your invoices and the interface should appear in the language you have chosen. Remember that language on your invoice will depend on the current language of the WordPress dashboard.Īnd that's it! The plugin is translated. Go to this path: wp-content > languages > plugins. The last step is adding translation files to your server. WordPress will interpret and pull data from. This is very important otherwise, your translation will not work. Please remember that you have to save this File with the plugin name flexible-invoices-woocommerce and the language-specific suffix at the end of the name.įor example, the Spanish translation file name should be flexible-invoices-woocommerce-es_ES. When you’ve finished, you can save your new translation File as a new one. It will ensure the right translation by printing all possible variables. Please notice that you have to add all the special characters from the source (original) text to the translation field. Click on each available string and write your translation into the Translation field. Now you see all the strings, and you can start with the translation. You can find the PO and MO files in the Flexible Invoices plugin inside this path flexible-invoices-woocommerce > lang > flexible-invoices-woocommerce-pl_PL.po.Īfter installing, please open the editor and click File > Open. In this article, I will use the free version of Poedit Editor, and we will translate the Flexible Invoices for WooCommerce plugin. Flexible Invoices for WooCommerce plugin files on your computer.Here you can download OS X and Windows versions In the new language configuration section, select your language from the Choose a language field, and choose languages/loco/themes/.po or languages/themes/.po. Poedit Editor installed on your computer.As you can probably guess, we will be using. PO files contain understandable human strings, which are compiled into binary MO files. Machine Object (MO) and Portable Object (PO) are translation management files in WordPress. We will look at the translator plugin called Loco Translate and the translation editor Poedit.mo and. This article will show you how to translate a WordPress plugin to your local language of choice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |