Languages with prefixes, separate database for each language

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by kread on March 9, 2012 at 1:38pm

Hello to everyone.
I have one website with two languages:
English(default) - www.mysite.com
Russian(ru) - www.mysite.com/ru

How to use separate database for each language?
For english i want to use mysite_en
for russian - mysite_ru.

I use Prefix translation.

I have tryed this stuff in template.php:
global $language;
$current_lang = $language->language;
if ($current_lang == 'en') $current_lang = 'default';
db_set_active($current_lang);

But it works only on website, not in admin page.

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /