Hi, I was looking at SLING-2881 [0] and reading the docu at [1]. the i18n code has 1 queries, one is:
1) //element(*,mix:language) and the other is 2) //element(*,mix:language)[@jcr:language='en']//element(*,sling:Message)[@sling:message]/(@sling:key|@sling:message) the first one is to find all language bundle roots, and the 2nd is used to actually load all messages for 1 bundle. I suggest to replace the second one by a manual traversal, since all messages are usually just directly below the language nodes. WDYT? Regards, Toby [0] https://issues.apache.org/jira/browse/SLING-2881 [1] http://sling.apache.org/site/internationalization-support.html
