Package: wordpress
Version: 3.4.1+dfsg-1
Severity: important

Hi,

Was configured using mysql-setup script wordpress, adding "define('WPLANG', 
'ja');" to /etc/wordpress/config-FQDN.php
However, doesn't changing Japanese message.

Symbolic link is not set to languages directory at /srv/www/wp-contents/FQDN/?

I fix mysql-setup script.

Thanks!


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wordpress depends on:
ii  apache2-mpm-prefork [httpd]      2.2.22-11
ii  dpkg                             1.16.8
ii  libapache2-mod-php5              5.4.4-4
ii  libjs-cropper                    1.2.2-1
ii  libjs-prototype                  1.7.0-2
ii  libjs-scriptaculous              1.9.0-2
ii  libphp-phpmailer                 5.1-1
ii  libphp-snoopy                    1.2.4-2
ii  mysql-client-5.5 [mysql-client]  5.5.24+dfsg-6
ii  php5-gd                          5.4.4-4
ii  php5-mysql                       5.4.4-4
ii  tinymce                          3.4.8+dfsg0-1

Versions of packages wordpress recommends:
ii  wordpress-l10n  3.4.1+dfsg-1

Versions of packages wordpress suggests:
ii  mysql-server  5.5.24+dfsg-6

-- no debconf information
--- setup-mysql.orig	2012-08-12 09:39:23.249395356 +0900
+++ setup-mysql	2012-08-12 09:44:52.899515181 +0900
@@ -72,6 +72,7 @@
 define('DB_HOST', '$DB_HOST');
 define('SECRET_KEY', '$SECRET_KEY');
 define('WP_CONTENT_DIR', '$CONTENT');
+# define('WPLANG', ''); // If you are installing wordpress-l10n package, remove comment and set locale
 ?>
 EOF
 )
@@ -103,6 +104,7 @@
 mkdir -p $CONTENT
 ln -sf /var/lib/wordpress/wp-content/themes $CONTENT/themes
 ln -sf /var/lib/wordpress/wp-content/plugins $CONTENT/plugins
+[ -d /usr/share/wordpress/wp-content/languages ] && ln -sf /var/lib/wordpress/wp-content/languages $CONTENT/languages
 echo Setting up permissions
 mkdir -p $CONTENT/blogs.dir $CONTENT/uploads
 chown -R root:www-data $CONTENT/blogs.dir $CONTENT/uploads

Reply via email to