Poedit plugin8/3/2023 You can either use FTP to upload the file or log in to your WordPress and upload it by going to Plugins > Add Plugin. Now that MEC is translated, you can upload it (of course, first you need to zip it again). mo files in your plugin’s language folder.ħ. When you’ve finished translating, simply save your file. Below it, there is a table where the source text is on the left and the target text on the right.Ħ. On top, you will see the translatable file. Now we can start translating MEC. Poedit provides a simple and straightforward interface that does not involve a steep learning curve. Now, you need to save your file in the languages folder of your plugin.ĥ. Note: If you use the Modern Events Calendar Lite version, the name structure is: modern-events-calendar-lite-fr_FR.po and modern-events-calendar-lite-fr_FR.mo For example, if you’re translating Chinese to French, the file should be named “mec-fr_FR.po” ( mec for MEC plugin, fr for the language, and FR for the country.) The name is important because there’s a particular format you should follow for consistency. After you hit OK, you’ll be asked to name your translation file. Enter the language you want to translate here along with any other required details.Ĥ. A catalog property box will open asking for information about what you are translating. Open Poedit and go to File > New Catalog from the POT file.ģ. It also provides localization tools for developers, such as extracting strings and generating templates.Ģ. Loco Translate provides in-browser editing of WordPress translation files. You can translate MEC on your site (online) with “Loco Translate” plugin. Poedit is a free, easy-to-use, and open source program for Mac, Windows, and UNIX/Linux for editing PO files and generating MO files. The tools available are GlotPress, Launchpad, and Pootle, but we’re going to use Poedit. Under Site Language, change it to the same language as your Poedit translation.Ĭheck and test your site to see if it's working.You can translate MEC plugin with four available tools. mo files to the said location, go to your WordPress Dashboard > Settings > General If you do not have this languages folder in your wp-content folder then simply create it. Upload these two files in this location by accessing your site via FTP or your hosting file manager program, once connected go to wp-content/languages/themes (when dealing with themes) or wp-content/languages/plugins (when dealing with plugin translation). Once you click save PoEdit will automatically generate. The text domain of any plugin(if it's translatable) can be found in the main plugin file(usually named the same as the plugin itself): The text domain of any theme (if it's translatable) can be found in the style.css file of that theme: Its almost the same process as translating the MyHome Theme. The format should be: theme-text-domain-language_code.įor example: brook-it_IT for translating Brook to Italian. Make sure that you saved the file in the correct format. Once done, remember to click File > Save As 5. Once the target language have been properly selected, you can now begin the translation. For the list of the language codes used by WordPress, please click this LINK. Your translation needs to follow this, or otherwise it won't work. Note: WordPress uses a language code for every language there is. Choose the target language of your translation. pot file in the folder of the theme/plugin you want to translate.ģ. Open the Poedit > Create new translationĢ. Once you have both, follow the instructions below. zip file of the theme or plugin downloaded from the Purchase History of your account it's usually found in the language folder. pot file of your theme or plugin - You can get this from the. You can use Poedit for any RTL language as well as Hindi.īefore translating, you will need the following: This software has a Pro version, but the free version should be sufficient for you to do the translation. This is available for Windows, Mac & Linux users and can be downloaded from. Poedit is a software that you can use to translate themes and plugins to your preferred local language.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |