cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19881] New: - I18nTransformer/XMLResourceBundle synchronization problem
Date Tue, 13 May 2003 07:34:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19881>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19881

I18nTransformer/XMLResourceBundle synchronization problem

           Summary: I18nTransformer/XMLResourceBundle synchronization
                    problem
           Product: Cocoon 2
           Version: 2.1M1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: michael.enke@wincor-nixdorf.com


Sometimes the translation dictionary can not be found (after starting Cocoon)

I have mounted sitemaps and for each mounted directory a separate directory
for translation files:

root sitemap:
   <map:transformer logger="sitemap.transformer.i18n" name="i18n"
        src="org.apache.cocoon.transformation.I18nTransformer">
    <catalogues default="BaseDict">
     <catalogue id="BaseDict" name="BaseDict" location="base/translations"/>
    </catalogues>
    <untranslated-text>untranslated-text</untranslated-text>
    <cache-at-startup>true</cache-at-startup>
   </map:transformer>

mounted sitemap in directory reports:
   <map:transformer logger="sitemap.transformer.i18n" name="i18n"
        src="org.apache.cocoon.transformation.I18nTransformer">
    <catalogues default="ReportsDict">
     <catalogue id="ReportsDict" name="ReportsDict" location="translations"/>
    </catalogues>
    <untranslated-text>untranslated-text</untranslated-text>
    <cache-at-startup>true</cache-at-startup>
   </map:transformer>

The problem is, that sometimes it tries to find the file ReportsDict not
in the directory reports/translations but in the directory base/translations
from root sitemap. Sometimes it is the other way around.
I have not found a solution at this time.

Mime
View raw message