LoginSignup
15
14

More than 5 years have passed since last update.

「Varying Vagrant Vagrants(VVV)」のWordPressを日本語化する

Last updated at Posted at 2013-10-06

Vagrant環境に、WordPressを簡単にセットアップできる「Varying Vagrant Vagrants(VVV)」は便利ですが、セットアップされるWordPressが英語版になっています。

これを、日本語化するためには次のような手順を行います。

1. wp-config.phpの書き換え

次の場所に保存されている「wp-config.php」を書き換えます。

/www/wordpress-default/wp-config.php
/www/wordpress-develop/src/wp-config.php
/www/wordpress-trunc/wp-config.php

65行目付近

define('WPLANG', '');

define('WPLANG', 'ja');

2. 言語ファイルのコピー

最初に、日本語版のWordPressをダウンロードして解凍しておきます。

wget http://ja.wordpress.org/latest-ja.zip
unzip latest-ja.zip

そして、言語ファイルをコピーします。

cp -R wordpress/wp-content/languages www/wordpress-default/wp-content/

3. WP Multibyte Patchのコピー

次に、マルチバイト言語版にのみ同梱されている「WP Multibyte Patch」をインストールします。

cp -R wordpress/wp-content/plugins/wp-multibyte-patch www/wordpress-default/wp-content/plugins

これで日本語版として利用することができます。

15
14
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
15
14