New answers tagged

0

Download the zip from https://github.com/wp-mirrors/wp-i18n-tools. Extract its content into the wp-includes folder. Command line one-liner from within WP root: $ php wp-includes/makepot.php wp-plugin wp-content/plugins/MYPLUGIN/ wp-content/plugins/MYPLUGIN/MYLANGFOLDER/MYPLUGIN.pot Then you take this resulting .pot file as source for Poedit. Finally ensure ...


4

You can use sprintf: echo sprintf( __('Follow %s on Facebook', 'yanse'), get_bloginfo('name') );


0

For anyone who had like to use Poedit instead of Easy Po. Download (latest version of) Poedit and Install Go to file>New. A new tab will come up, choose your language of translation and Save (ctrl + s) to the root folder of your wordpress theme. On the page you will see next, Click on - "Extract from sources". The tab you will see next is similar to those ...



Top 50 recent answers are included