For some reason after I switch to a different language other than the default language, the link path doubles. see bbseeker.com. If you switch to french, and the want to go back to english it shows www.bbseeker.com/fr/en/

Can some one direct me where to fix this issue? i cant find the bit of the code that needs the fix of the path/

Thanks :)

Comments

mogtofu’s picture

hi,

Get the same problem with the flag, links look like fr/en instead of en.
For now i just make a bad trick on the theme_i18n_link function (i18n.module line:666) i had just before the return $output

  $output = str_replace("/fr/en","/en",$output);
  $output = str_replace("/fr/fr","/fr",$output);
  $output = str_replace("/en/en","/en",$output);
  $output = str_replace("/en/fr","/fr",$output);

it's not a very good way but it seems to work, exepet for the english frontpage wich looks like en/en.

regards.
Mog.

vijayasreeg’s picture

hello,

I know itS been a while that this issue is opened. This fix might help somebody who is having the same kind of issue. I also had same problem. I use to have Localizer installed and I had the "include_once('sites/all/modules/localizer/localizer_settings.php');" line in settings.php file. As soon as I comment out that line, everything worked normal.

Thanks

jose reyero’s picture

Status: Active » Closed (fixed)

Cleaning issue queue for old versions. If you want to get any support consider using the forum or updating to 6.x.

See #626858: Internationalization 5.x Maintenance Policy. Approaching end of support.