![]() ![]()
The pro version allows you to create the PO/POT file with one click. There are a number of Gettext translation editors but Poedit is popular among the WordPress faithful. #Woocomerce plugin poedit downloadThen click on Get POT to download the POT file.Click on Continue in the Generate POT file section.To access the Admin page of your plugin, login to the plugin repository and click the green Admin button on the sidebar.įollow the short guide below to see how easy it is to generate POT files using the admin tool. The official WordPress plugin repository has a tool for generating the POT file of a plugin which is located at the Admin page of every plugin listing. There are a couple of ways to generate a POT file for your plugin. Take note: before generating your plugin POT file, ensure you’ve internationalized your plugin. #: plugin-name.php:123Īs previously mentioned, the POT file is the one that is handed to translators, so that they can do their work. Here is an example POT file entry: #: plugin-name.php:123Ī translator looking to translate the text Welcome to SitePoint (at line 123 in your plugin file) into German will add the translation between the quotation marks. pot file contains the original strings (in English) of your plugin. This file is used by translators to translate your plugin into a new language. The process of making a plugin ready for translation is fairly straight-forward. #Woocomerce plugin poedit how toThis second (and concluding) part will be a walk-through on making a plugin ready for translation, as well as learning how to localize or translate a plugin into a new language. #Woocomerce plugin poedit seriesYes, if you select a RTL language such as Hebrew under Settings > General then the text direction should go from right to left automatically throughout your website, including in the product table.In the first part of this series on WordPress plugin i18n and l10n, we learned how to internationalize a WordPress plugin. Does the plugin support RTL/right-to-left languages? Please contact us and attach your files so we can add them to a future release. If you create a translation for a language we don't currently support, we would love to add it to the plugin! How to contribute a translation to the plugin Please see the instructions on how to choose your own column headings. WooCommerce Product Table has an option that you can use to change the column headings, so you don't have to use the default translation provided. ![]() Upload the files to this location: /wp-content/languages/plugins/ FAQ How to translate the column headings mo file should have the same format, e.g. For example, the locale for Italian is it_IT, so the file name would be: woocommerce-product-table-it_IT.po. Once you have made your translation, save the file as woocommerce-product-table. We would recommend PoEdit for making your translation, but you can of course use an alternate method. You use this file to translate the plugin into your chosen language. pot file for the plugin is provided in the plugin's /languages folder. #Woocomerce plugin poedit software(If you use software such as PoEdit, this will happen automatically each time you save your translations.) mo file is a machine-readable version, and is normally generated automatically from the. po file contains the actual translations. In order to translate the plugin into your chosen language, you will need to create two files: To do this you will need to follow the steps below. If your language is not listed above and you're not using a multilingual plugin, then you may wish to translate the plugin yourself. We have provided tutorials on how to use it with the following: ![]() ![]() WooCommerce Product Table is compatible with most WordPress multilingual plugins. To use the plugin in one of these languages, simply set your site's language under the Settings > General menu in the WordPress admin. At the present time, WooCommerce Product Table comes with complete translations for: English, French, Spanish, German, Italian, Dutch, Finnish, Hebrew, Polish, and partial translations for Swedish, Norwegian, Portuguese, and Greek. Many of our customers have kindly contributed translations to the plugin. You can also use it with various multilingual plugins, or add your own translations directly. WooCommerce Product Table comes with several language translations already included. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |