cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject i18n transformer problem
Date Fri, 26 Apr 2002 07:41:46 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message