Closed (fixed)
Project:
Internationalization
Version:
4.7.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2007 at 18:46 UTC
Updated:
12 Sep 2016 at 14:30 UTC
Jump to comment: Most recent
Comments
Comment #1
jose reyero commentedIt may be any other module using t() in the init_hook. Also, if you don't have the strings translated, a query will be used for each string.
So please make sure it is i18n module causing the trouble and not any other module or only locale.
Comment #2
drupalxykon commentedI have the same problem and I don't have any add-on modules apart from views..the strings are translated completely. there seem to be a whole bunch of locale queries which are slow
Comment #3
drupalxykon commentedits particularly slow while accessing a multilingual view? as in, if someone toggles to 'spanish' while browsing an english view. its slow regardless though
Comment #4
drupalxykon commentedexample slow query :
1099.09 0 locale SELECT s.lid, t.translation FROM locales_source s INNER JOIN locales_target t ON s.lid = t.lid WHERE s.source = 'logs' AND t.locale = 'es'
Comment #5
drupalxykon commentedok disabling the 'location' module (an add-on) fixed the problem
Comment #6
jose reyero commentedI guess I close it then, unless you want to post a bug for some other module.
Comment #7
bestmvpatel commentedHi I am getting same issue with Locale Module,
UK website is giving page in just 1.86 sec but dutch website or other link is getting more than 10 second to reload the page,
Anyone can help me please?