Hello,

I'm currently developing a multilingual website with Drupal 4.7.x and the i18n module (http://drupal.org/project/i18n). Everything is fine except the site is super slow (it may take up to one minute for a page to fully load), particularly when I try to switch from a language to another.

Curiously, it never times out, it looks like Drupal is processing something over and over... like it's recalculating the whole cache for every page request.

Any idea why it is so slow? Does it have anything to do with i18n?
Any tools or modules that I can use to detect where the bottleneck is and correct it?

Thanks,
Vincent

PS. I have other Drupal websites on the same webhost without i18n and they're fine, so I know it doesn't come from the server.

Comments

Vlad M’s picture

Though I'm not a programmer I've read that it happens because core locale.module is not fully optimized, so there's nothing to do with i18n. Install devel http://drupal.org/project/devel and look at database queries - may be it will help.

vincentc’s picture

Ok, will do. Thanks

smk-ka’s picture

You can try this patch. If you've got a buggy module it will show you its file name and line, and you can try to fix it (or at least restore normal speed for your site).

Good luck.
--
Stefan M. Kudwien
www.unleashedmind.com

-Stefan

vincentc’s picture

Ok, thanks a lot.