I was trying to made a multilingual site, I already did it on another site but now for some reason when I try to edit or create a resource in my resources tree I just get a blank page.
I followed these tutorials to get what I wanted
http://www.multilingual-modx.com/blog/2011/multilingual-websites-with-modx-and-babel.html
http://designfromwithin.com/blog-webdesign-development/2012/01/12/modx-multilingual-setting-up-babel-and-have-a-website-with-multible-languages/
http://www.butter.com.hk/blog/posts/2010/08/internationalization-in-modx-revolution.html
but I dont know what did I do wrong I already tried to fix it by clearing manually the cache and reinstalling the plugin but nothing seems to work
I really hope there's someone who can help me to fix it
here's my codes:
.htaccess
RewriteBase /
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^nutrapel.gamol\.com.mx [NC]
RewriteRule (.*) http://nutrapel.gamol.com.mx/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(es|en)/favicon.ico$ favicon.ico [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(es|en)/assets(.*)$ assets$2 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(es|en)?/?(.*)$ index.php?cultureKey=$1&q=$2 [L,QSA]
getaway plugin:
<?php
if($modx->context->get('key') != "mgr"){
switch ($_REQUEST['cultureKey']) {
case 'en':
$modx->switchContext('en');
break;
default:
$modx->switchContext('web');
break;
}
unset($_GET['cultureKey']);
}
the configuration of my contexts both with Load Only access policy
So thanks again guys and I really hope you can help me