Skip to content

Instantly share code, notes, and snippets.

@Kudratullah
Last active August 29, 2015 14:27
Show Gist options
  • Save Kudratullah/c4ab038cb36a3b5a7a43 to your computer and use it in GitHub Desktop.
Save Kudratullah/c4ab038cb36a3b5a7a43 to your computer and use it in GitHub Desktop.
execute WordPress l18n tools from windows command prompt.
/**
* Usage: php makepot.php PROJECT DIRECTORY [OUTPUT]
* Generate POT file from the files in DIRECTORY [OUTPUT]
* Available projects: generic, wp-frontend, wp-admin, wp-network-admin, wp-core, wp-ms, wp-tz, wp-plugin, wp-theme, bb, mu, bp, glotpress, rosetta, wporg-bb-forums
* This is windows cmd command
*/
C:\xampp\php>php c:\xampp\htdocs\wpdev\tools\makepot.php wp-plugin c:\xampp\htdocs\wpdev\wp-content\plugins\sp_google_maps c:\lang.pot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment