Support » Installing WordPress » Set Language in worpress instaled in Debian

  • 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 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:
    /** WordPress’s Debianised default master config file
    Please do NOT edit and read about how the configuration works in the README.Debian

    # (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”;


    define(‘ABSPATH’, ‘/usr/share/wordpress/’);
    define(’WPLANG’, ‘es_ES‘);


    I have put define(’WPLANG’, ‘es_ES‘);
    in it but it dont set my wordpress in spanish.

    There is another file called /etc/wordpress/ with:
    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • define(’WPLANG’, ‘es_ES‘);
    The quotes in this line are wrong! Use straight quotes [‘] not “curly” ones…

    Yes, i put straight quotes
    define(‘WPLANG’, ‘es_ES’);
    But still not working 🙁

    Where i can define it?

    If you corrected the quotes – then I don’t know.
    We don’t support server setup questions here. Try a debian forum!

    If the server is set up correctly, the installation is easy…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Set Language in worpress instaled in Debian’ is closed to new replies.