Personal tools
You are here: Home Documentation Error References iso19115 localization
Document Actions

iso19115 localization

This Error Reference applies to: 2.0.2

Translating geonetwork into german I noticed, that ISO 19115 refDateType and keyTyp are not translated in non-edit metadata viewing.
My workaround was  adding creation, publication, revison and so on to strings.xml with the translation
e.g. <publication>Datum der Veröffentlichung</publication and to change metadata-iso19115.xsl to

            <xsl:when test="$edit=false()">
                <xsl:variable name="typ" select="string(refDateType/DateTypCd/@value)"/>
                <xsl:variable name="datetyp" select="/root/gui/strings/*[name(.)=$typ]"/>
                <xsl:apply-templates mode="simpleElement" select=".">
                    <xsl:with-param name="schema" select="$schema"/>
                    <xsl:with-param name="edit"   select="$edit"/>
                    <!--<xsl:with-param name="text" select="concat(refDate,' (',refDateType/DateTypCd/@value,')')"/>-->
                    <xsl:with-param name="text" select="concat(refDate,' (',$datetyp,')')"/>
                </xsl:apply-templates>
            </xsl:when>

by Admin last modified 2007-03-14 02:04
Contributors: gisworks
Creative Commons - http://creativecommons.org/licenses/by/2.5/

Creative Commons License
This work is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported License.

Powered by Plone CMS, the Open Source Content Management System