Hello, Can someone help me to understand why i18n transformer divides key? Input XML contains the following line: <i18n:text>LNG_LUB_Consultation_Fournisseurs</i18n:text>
In messages files appropriate translation is present: <message key="LNG_LUB_Consultation_Fournisseurs">Consultation Fournisseurs</message> However in a browser I get "untranslated-text" and in sitemap.log I see that the transformer divides the key (other keys are translated though): DEBUG (2002-04-26) 11:08.38:250 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/I18nTransformer: I18nTransformer: Starting i18n element: text DEBUG (2002-04-26) 11:08.38:250 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/I18nTransformer: I18nTransformer: Start i18n element: text DEBUG (2002-04-26) 11:08.38:250 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/I18nTransformer: I18nTransformer: i18n message text = 'LNG_LUB_Cons' DEBUG (2002-04-26) 11:08.38:250 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: returning from cache: /catalogue/message[@key='LNG_LUB_Cons'] DEBUG (2002-04-26) 11:08.38:250 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: cache_not_found contains: /catalogue/message[@key='LNG_LUB_Cons'] DEBUG (2002-04-26) 11:08.38:260 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: returning from cache: /catalogue/message[@key='LNG_LUB_Cons'] DEBUG (2002-04-26) 11:08.38:260 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: cache_not_found contains: /catalogue/message[@key='LNG_LUB_Cons'] DEBUG (2002-04-26) 11:08.38:280 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: caching not_found: /catalogue/message[@key='LNG_LUB_Cons'] DEBUG (2002-04-26) 11:08.38:280 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: caching not_found: /catalogue/message[@key='LNG_LUB_Cons'] DEBUG (2002-04-26) 11:08.38:280 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/I18nTransformer: I18nTransformer: i18n message text = 'ultation_Fournisseurs' DEBUG (2002-04-26) 11:08.38:290 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: returning from cache: /catalogue/message[@key='ultation_Fournisseurs'] DEBUG (2002-04-26) 11:08.38:290 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: cache_not_found contains: /catalogue/message[@key='ultation_Fournisseurs'] DEBUG (2002-04-26) 11:08.38:290 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: returning from cache: /catalogue/message[@key='ultation_Fournisseurs'] DEBUG (2002-04-26) 11:08.38:290 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: cache_not_found contains: /catalogue/message[@key='ultation_Fournisseurs'] DEBUG (2002-04-26) 11:08.38:300 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: caching not_found: /catalogue/message[@key='ultation_Fournisseurs'] DEBUG (2002-04-26) 11:08.38:300 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/XMLResourceBundle: messages: caching not_found: /catalogue/message[@key='ultation_Fournisseurs'] DEBUG (2002-04-26) 11:08.38:300 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/I18nTransformer: I18nTransformer: End i18n element: text DEBUG (2002-04-26) 11:08.38:300 [sitemap.transformer.i18n] (/bdl/providers) HttpProcessor[8080][1]/I18nTransformer: I18nTransformer: End text element, translated_text: untranslated-text Thank you for your response. Roman --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>