LoginSignup
0
0

More than 5 years have passed since last update.

VCCWでpotファイルを作成するには - makepot

Last updated at Posted at 2016-08-28

wordpressのテーマやプラグイン開発用のvagrantfileであるVCCWを利用して、プラグインを開発する際には、国際化ファイル(poファイル)を生成するスクリプトがデフォルトでインストールされています。(Wordpress i18n Tools)

簡単に手順をメモ。

1. vagrant ssh

ホストPC上ではなく、vagrantの中で。

2. cd /var/www/wordpress/wp-content/plugins/(プラグイン名)/language

作成したプラグインフォルダに、language的な名前の言語ファイル設置フォルダを作成して、そこにcd

3. makepot.php wp-plugin ..

ここを makepot .. だと動かない(これをメモしたかった)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0