You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/05/27 08:28:30 UTC

DO NOT REPLY [Bug 35099] New: - Default pub does not use i18n

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35099>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35099

           Summary: Default pub does not use i18n
           Product: Lenya
           Version: 1.2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: i18n (Internationalization)
        AssignedTo: dev@lenya.apache.org
        ReportedBy: solprovider@gmail.com


The default publication does not use i18n for content pages, just error
messages.  (It also has no link to change laguages, even though
content//*_de.xml files are included.)

FIX: pubs/default/publication-sitemap.xmap
 <map:match pattern="lenyabody-*/*/*/*/**">
      <map:aggregate element="cmsbody">
...
      <map:transform src="xslt/page2xhtml-{4}.xsl">
...
      </map:transform>
<!-- ADD THESE 3 LINES -->
      <map:transform type="i18n">
             <map:parameter name="locale"
value="{page-envelope:document-language}"/>
      </map:transform>
      <map:select type="parameter">

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org