Hello.
I have installed wordpress 2.3.2 in debian with apt method:
aptitude install wordpress
I want to put it in Spanish language. I have downloaded the es_ES.mo file and put it in wp-content/languages/
In debian instaled way /usr/share/wordpress/wp-config.php is a link to /etc/wordpress/wp-config.php and wp-config.php contents:
<?php
/** WordPress's Debianised default master config file
Please do NOT edit and read about how the configuration works in the README.Debian
**/
#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435289
#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440572 (underscores, not dashes)
$debian_server = preg_replace('/:.*/', "", $_SERVER['HTTP_HOST']);
$debian_file = '/etc/wordpress/config-'.strtolower($debian_server).'.php';
if (!file_exists($debian_file)) {
header("HTTP/1.0 404 Not Found");
echo "404 Not found";
}
require_once($debian_file);
define('ABSPATH', '/usr/share/wordpress/');
define(’WPLANG’, ‘es_ES‘);
require_once(ABSPATH.'wp-settings.php');
?>
I have put define(’WPLANG’, ‘es_ES‘);
in it but it dont set my wordpress in spanish.
There is another file called /etc/wordpress/config-www.myweb.org.php with:
<?php
define('DB_NAME', 'myname');
define('DB_USER', 'myuser');
define('DB_PASSWORD', 'mypassword');
define('DB_HOST', 'localhost');
$table_prefix = 'wp_';
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
?>
I have put define(’WPLANG’, ‘es_ES‘); in it too, but nothing happens.
¿How can i put my blog in spanish language?
Thank you very much.