![]() ![]() Then you only have to do is translate found strings. Since it is an Eclipse plugin, it suppose first the installation of eclipse: it is not a stand-alone application. Next open Edit -> Preferences and in Processing programs tab, edit PHP section and add *.phtml extension (this will be scanned by poedit also)Īfter that you have to click in Update button and PoEdit will start scan your sources for strings to translate. GTed is an interesting alternative for PoEdit.Then go to Source of keywords tab and add translate and if you're using zf2 forms it is useful to add addLabel keyword (PoEdit will scan sources for this functions and add string parameters from them to your *.po file, as string to translate).If you have typical zf2 skeleton application folder structure you can add. ![]() More universal is to use relative to opened *.po file main path. Add paths where PoEdit should look for source files in Your applilcation.Go to Catalog -> Properties then to Source Paths tab.First of all, open *.po file which you want update with strings to.Pootle can be rather difficult to setup though. If you will done that correct PoEdit automatically update what to translate in this opened *.po file. An alternative to Transifex is Pootle, a web interface for translations. Join our exciting event this Spring to hear presentations from industry speakers and receive product training. Simply select your source and target language, specify the copy-source-to-targ. You can configure your project (*.po file) opened in PoEdit. Elevate - The Trados Online Conference Series. Learn how to use DeepL / Google Translate / ModernMT with POEdit Free Edition. 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.ģ. js Edit 'Parser commend:' xgettext -languagePython -force-po -o o C K F Done. It also provides localization tools for developers, such as extracting strings and generating templates.Ģ. poedit Share Improve this question Follow asked at 5:13 Kentor 657 10 27 Add a comment 4 Answers Sorted by: 9 'I also had to force python in the gettext command': FilePreferencesParsers Edit Python Edit 'List of extensions.'. Loco Translate provides in-browser editing of WordPress translation files. You can translate MEC on your site (online) with “Loco Translate” plugin. All the different fields are clearly ordered and organized with the name of the item or phrase on the left and the translation on the right. 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. poEdit is a free utility which displays program information in a clear and easy to use format so that you can see what has and hasnt been translated properly instantly. The tools available are GlotPress, Launchpad, and Pootle, but we’re going to use Poedit. You can translate MEC plugin with four available tools. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |