![]() Create folder wp-content/themes/MY_THEME/languages (add your language.Add load_theme_textdomain('my-textdomain', DIR.'/languages/'). ![]() In the project window click on "Update" (2nd icon at the top).(this will make it scan your theme directory and its subdirectories) Next to "Path" click on the "New item" button and enter.pot file is saved in a subdirectory so this way you set the base to the parent directory, ie. In the "Catalog" menu select "Properties" again.pot extension to the filename because by default it will save as. Save the file as "yourthemename.pot" in the "languages" folder in your theme directory (make sure you add the.Click on the "New item" button (2nd button) and enter a keyword and repeat this for each of your keywords ( _, _e, esc_attr_e, etc.).Enter the project information in the "Translation properties" tab.In the "Catalog" menu select "Properties".This application is cross-platform, so you shouldn’t have any issues using it regardless of what you choose to use. Select the language that you used in your theme (probably English) Poedit is a reliable and efficient software application that can be used to help your create and edit your catalogues as well as translate text from language to another quickly and without any hassle.If you haven't already, create it before you start. pot file for your theme with Poedit (free edition, version 1.6.10) on OS X.īest practise is to save language files in a folder named "languages" in your theme directory.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |