[opencms-dev] Decoration with lang Attribute
Detlef Beyer
d.beyer at crash.de
Mon Apr 30 13:23:17 CEST 2007
Hi again,
I found a solution myself - the decoration tag can be nested. The
code is not very nice - but it works:
<cms:decorate
file="/system/shared/decoration/my1_decorations.xml"><cms:decorate
file="/system/shared/decoration/my2_decorations.xml"><cms:contentshow
element="article" /></cms:decorate></cms:decorate>
One decoration is defined as <abbr title="${decoration}"> and one as
<abbr lang="en" title="${decoration}">. One csv file contains the
German and one the English abbreviations.
Detlef
>Is there a way to use the decoration tag together with the lang
>attribute? If the output of openCms has to be accessible we need to
>mark words in foreign languages. So if the text is written in German
>and I use the decoration tag to mark the abbrivations like this:
>
><abbr title="Bayrische Motorenwerke">BMW</abbr>
>
>I would like to mark foreign words in the same text (locale=de) like this:
>
><abbr lang="en" title="Hypertext Markup Language">HTML</abbr>
>
>In the CSV file used to define the keywords for the decoration tag I
>found no way to specify the language attribute?
>
>Best,
>
>Detlef
>
>_______________________________________________
>This mail is sent to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070430/a8a65d0a/attachment.htm>
More information about the opencms-dev
mailing list