/admin/languages/storm_admin.pot – for the backend./languages/storm.pot – for the frontend.The Loco Translate plugin is great for localizing WordPress themes and plugins.The theme includes two translation files, one for frontend strings (what visitors will see on your site) and one for backend strings (what admins will see when editing the theme options). Loco Translate is the best plugin to translate WordPress themes and plugins directly in your WordPress dashboard. This way translations are kept when you update the theme or plugin. Note that it is not recommended anymore saving translation files in the theme directory (where you found the theme-slug.pot file), but in the wp-content/languages/themes or wp-content/languages/plugins instead. mo file will be automatically created next to the. For example: for Spanish language you would name your file: pitstop-es_ES.po. po file in the folder wp-content/languages/themes/ for theme and wp-content/languages/plugins/ for plugin and name this file regarding your locale. Load this file (as the catalog) in the PoEdit and start translating. pot (for Pitstop this file is named pitstop.pot, for PixCars plugin it’s pixcar.pot etc.). You´ll have to upload both to your theme’s or plugin’s languages folder.įind the languages folder of the theme or plugin: Perhaps you don´t want to spend your time translating text strings of the admin theme. It´s not necessary translate all text strings. Translating is really easy – just select a word or phrase, enter your translation. The boxes underneath show the source text, your translation and any notes for translators. The space at the top will display all the text ready to translate, and any completed translations will display to the right. Now you can start translating your theme or your plugin.If you select German (Germany): de_DE.po ( plugin_name-de_DE.po for plugin). Hit OK and Poedit will name automatically your file.A box will pop up asking for language of the translation.PO file from the theme or plugin you wish to translate which (you can find the files in the wp-content/themes/your-theme/language/ folder). Open Poedit and select Create New Translation.Free version comes with a builtin translation memory that remembers your past translations and uses them to make suggestions for similar texts. Poedit is a software (available for Windows, Mac and Linux) which you can use to translate the theme or plugin. All you can do with these files is to upload or re-upload them whenever you create or update a. MO file is automatically created by Poedit whenever you save a PO file. While a PO file is easy for humans to read, MO files are compiled and are easy for computers to read. MO file includes the exact same contents as PO file. It´s a translation that someone else started (the author, a professional translator, a WordPress theme user, etc), and maybe completed. PO file includes the original texts and the translations in two columns. Portable Object (PO) and Machine Object (MO) PixCustom plugin: wp-content/plugins/pixtheme-custom/languages/ pixtheme-custom.pot.Nordis theme: wp-content/themes/nordis/languages/ nordis.pot.POT file can be found in the languages folder. Basically, the .POT file is a list of all the text lines used in the theme files in English language: The master theme (or plugin) translation file is a.
0 Comments
Leave a Reply. |