Skip to content

Commit

Permalink
[BP] ISO19115-3 / Fix multilingual editing. (#5029)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxprunayre authored and josegar74 committed Oct 1, 2020
1 parent 07b478f commit cf6027b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<xsl:for-each select="$metadata/mdb:otherLocale/lan:PT_Locale">
<lang id="{@id}" code="{lan:language/lan:LanguageCode/@codeListValue}"/>
</xsl:for-each>
<xsl:for-each select="$metadata/mdb:defaultLocale/*">
<xsl:for-each select="$metadata/mdb:defaultLocale/lan:PT_Locale">
<lang id="{@id}" code="{lan:language/lan:LanguageCode/@codeListValue}" default=""/>
</xsl:for-each>
</xsl:otherwise>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<xsl:variable name="metadataOtherLanguagesAsJson">
<saxon:call-template name="{concat('get-', $schema, '-other-languages-as-json')}"/>
</xsl:variable>
<xsl:variable name="metadataIsMultilingual" select="count($metadataOtherLanguages/*) > 0"/>
<xsl:variable name="metadataIsMultilingual" select="count($metadataOtherLanguages/*[not(@default)]) > 0"/>

<!-- The list of thesaurus -->
<xsl:variable name="listOfThesaurus" select="/root/gui/thesaurus/thesauri"/>
Expand Down

0 comments on commit cf6027b

Please sign in to comment.