Nowadays the mo and po files can also be uploaded to the following directory path in WordPress. Once you have completed all your changes and saved your file, you need to upload the new files to your server using FTP. The es_ES.mo file is generated automatically by Poedit when you save the changes made to your po file. You should see two files with updated entries. Step 8 ) After saving your changes, go back to the location where you opened the file to edit. In this example the following new strings were found. Now all you need to do is translate the new strings found. These strings need to be added to the po file. Step 7-a ) The following image illustrates the new strings found in the POT file. ![]() In this case, go to Catalog -> Update from POT file. This usually happens when the theme has been updated a few times but the language po file has not. Step 7 ) There are times that you might have to update the po files because it has not been updated for a while. Your new po and mo files will be updated and ready for uploading to your server. Step 6 ) Once you have completed all the changes, click on Save button as illustrated in the following image. Using a program like Poedit allows you to make your translations more personal for your site. Step 5 ) In the following image you can see the new edited string Centro. The current Spanish translation word used is Centrar. Step 4 ) In the following image the source text selected is Center. Note: In your case you might be translating a different language. The translated strings will be edited under Translation: field. In this tutorial the language is Spanish (Spain). Each string you select for translation will show up in the field Source text. The string selected can be translated into your language. Step 3 ) Once you have opened the es_ES.po file you will see many strings for translation. If it doesn’t, it means you need to select poedit as the default program to open up po files. Poedit should run and open the file for you. Note: You can also double click using your left mouse button the po file. In this example I am going to edit es_ES.po from Suffusion theme. Search for the po file in your computer or laptop. Click on Open button as illustrated in the image below. Step 2 ) Open Poedit in your computer or laptop. Please check the following documentation Install WordPress In Your Own Language to learn more. Step 1 ) Before you begin check to make sure you have set up your WordPress site with the correct language. (Optional but highly recommended)Ĭreate a WordPress plugin or theme translation using poedit
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |