I have install subdomain module and i configured according to readme file.

but when an i18n only work in defaut language. not support in like subdomain.domain.com/en

Comments

honza pobořil’s picture

Version: 7.x-2.0-beta2 » 7.x-2.x-dev
Status: Active » Postponed

We fix many things recently. Could you test it with 7.x-2.x-dev?

Sinan Erdem’s picture

Language negotiation still doesn't work for neither path prefix nor domain.

Sinan Erdem’s picture

Assigned: nasmy_ayyash@yahoo.com » Unassigned
Status: Postponed » Active
Sinan Erdem’s picture

I just commented out those lines(343 to 347) in subdomain.module and it works as expected now:

// Else, just handle the case where the incoming path is the same as the special homepage path
elseif ($sid && $path == subdomain()->get_homepage_path($sid)) {
$redirect = _subdomain_format_url(_subdomain_get_protocol(), $curr_subdomain, subdomain_get_domain(), '');
header("Location: " . $redirect, TRUE, 301);
}

I use 7.x-beta3

I didnt find any problems since. Does anybody know why do those lines exist?