| Log Message: |
added a language selector to switch between the languages of a
publication.
it iterates over {page-envelope:publication-languages-csv} to display
all languages and then formats the links depending on whether the
language is currently chosen, available or unavailable.
to activate, add <module name="languageselector"/> to your
and add <map:part
src="cocoon://modules/languageselector/languageselector/text-abbr/flagsize-none"/>
to your publication sitemap.
then you can <xsl:apply-templates
select="xhtml:div[id='languageselector']/> in your page2xhtml.xsl.
for nice formatting, you need to do some css (look at the source for the
classes).
an optional display of flag symbols is in the works, but not yet
implemented. ignore the hooks for now.
|