Language Problem beim SilverStripe CMS

Dieses Thema im Forum "Webentwicklung" wurde erstellt von Targa, 25. Juli 2008 .

Schlagworte:
  1. 25. Juli 2008
    Hi,

    hab folgendes Problem:

    -> http://doc.silverstripe.com/doku.php?id=multilingualcontent

    Da steht ja man solle um die Standard Sprache auf Deutsch umzustellen folgendes in die _config.php schreiben:

    So wenn ich dies mache neu hochlade die Datei und dann auf meiner Seite aktualisiere kommt nur ein weiße Fenster!

    Die _config.php sieht nun folgendermaßen aus:

    PHP:
    <? php

    global  $project ;
    $project  'mysite' ;

    global 
    $databaseConfig ;
    $databaseConfig  = array(
        
    "type"  =>  "MySQLDatabase" ,
        
    "server"  =>  "localhost"
        
    "username"  =>  "xx"
        
    "password"  =>  "xx"
        
    "database"  =>  "xx" ,
    );

    // Sites running on the following servers will be
    // run in development mode. See
    // http://doc.silverstripe.com/doku.php?id=devmode
    // for a description of what dev mode does.
    Director :: set_dev_servers (array(
        
    'localhost' ,
        
    '127.0.0.1' ,
    ));

    // This line set's the current theme. More themes can be
    // downloaded from http://www.silverstripe.com/cms-themes-and-skin
    SSViewer :: set_theme ( 'acidlemon' );

    ));

    i18n :: set_default_lang ( 'de' );
    HTTP :: set_cache_age ( 0 );

    ?>
    Das komische ist, dass der Admin Bereich der schon auf Deutsch war (da konnte man die Sprache auswählen) nun auch nicht mehr geht!

    Hoffe ihr könnt mir sagen warums nicht geht :]
     
  2. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.