![]() ![]() To make them upgrade safe, instead place them in wp-content/languages/your-plugin-name/. If you keep your custom translations in your-plugin-name/languages they can be lost when upgrading. Choose the file and it will be updated accordingly. Updating your translationĪfter updates, you can update your po file by opening it and then going to Catalog > Update from POT file. mo file will also be generated automatically. po file – name it based on what you are translating to, for example, a GB translation would be saved as plugin-textdomain-en_GB.po . Now the strings will be listed.Īfter translating all strings you can save – the. After this you will be prompted to save your. Once you have done this, choose plugin-textdomain-en_US.po file and PoEdit will show the catalog properties window:Įnter your name etc so other translators know who you are and click ‘ok’. To get started open PoEdit and go to File > New catalog from POT file. plugin-textdomain-en_US.po – Contains all translation strings.PO file which can be imported into PoEdit to translate. Poedit jest edytorem plików jzykowych, który moe by idealnym narzdziem zarówno do zastosowa amatorskich jak i profesjonalnych. Only advanced users or translators who wish to contribute to Your plugin core should attempt this method. PoEdit is a more advanced alternative to Codestyling Localization. If you do not get string listing as mentioned below, then click on “sync” button first to get all string listing and Finally start translating and save when you finish. Then choose the language to add in the list, or enter the language ISO code (ex: fr_FR, en_US etc…), and select the folder to add the translation files to, and hit Start Translating: You can easily add new languages to a theme or a plugin using the Add New Language link: By default the “Manage Translations” section will list all your themes and plugins and will display all available translations for each of them: Once you installed and activated Loco Translate, a new “Loco Translate” menu item is created with two sub-sections. You can also add directly from the WordPress administration, in Plugins > Add New. Loco Translate is a free plugin that you can download here. Loco Translate is the another plugin for translation, which allows you to translate the plugin directly in the WP admin panel. Otherwise you need to create the language files (process explained below). Once this has been done, the shop will be displayed in your locale if the language file exists. Go to: Dashboard > Settings > General and change the Site language.WordPress needs to be told which language it should run under. You can find this language file inside the plugin folder in your-plugin-name/languages/. pot file) which contains all of the English text. Your plugin includes a language file (.po or. This short guide will show you how to use your own translations. We provides you a very simple method for translating the plugin into your own language by letting you create your own translation files and then placing them in an upgrade-safe directory. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |