Hi guys, I would like to help to change the home page, I took the ready iste, and need to change the language of the site, however I can not understand how you do it, I would to set to en_GB language already was in mysite and changed the _conf, but nothing happens.
Code _conf:
<?php
global $project;
$project = 'mysite';
global $databaseConfig;
$databaseConfig = array(
"type" => 'MySQLDatabase',
"server" => 'localhost',
"username" => 'onwinfo_alemao',
"password" => 'password',
"database" => 'onwinfo_alemao',
"path" => '',
);
// Set the site locale
i18n::set_locale('pt_BR');
// Use _ss_environment.php file for configuration
//require_once("conf/ConfigureFromEnv.php");
Translatable::set_default_locale('pt_BR');
//SS_Log::add_writer(new SS_LogFileWriter('oli.log'));
//SpamProtectorManager::set_spam_protector('InvisibleSpamProtector');
//Config::inst()->update('Email', 'send_all_emails_to', "raymond@biwac.ch");
Email::setAdminEmail('info@zweifuereins.ch');
//Security::setDefaultAdmin('admin','silveradmin');
Director::addRules(100, array(
'' => '->home-pt-br/',
));
Following site structure:
if they can help me how to change this, I only leave another index with another default language. Thank you!