#1055: MCP - unable to add "Other language"
----------------------------------+-----------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: User interface (web) | Version: v2.8.0RC0
Keywords: |
----------------------------------+-----------------------------------------
When attempting to add "Other language" via the medatada editor, it always
sets the language to "English" so I'm unable to add other languages via
the interface.
OS: Windows XP
Using todays 2.8 nightly build and latest MCP schema plugin.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1055>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#1055: MCP - unable to add "Other language"
----------------------------------+-----------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: User interface (web) | Version: v2.8.0RC0
Keywords: |
----------------------------------+-----------------------------------------
Comment(by ianwallen):
The problem seems to be in the update-fixed-info.xsl file.
{{{
<xsl:template match="gmd:languageCode[gmd:LanguageCode/@codeList]"
priority="10">
<xsl:copy>
<gmd:LanguageCode
codeList="http://www.isotc211.org/2005/resources/Codelist/ML_gmxCodelists.xml#LanguageCode"
codeListValue="eng">English</gmd:LanguageCode>
</xsl:copy>
</xsl:template>
}}}
Not sure why this was hard coded to "English"?
I also noticed the same for the Country - it is hard coded to "Australia"?
This means that code similar to the following would not be possible.
(Taken from [http://www.schemacentral.com/sc/niem21/e-gmd_PT_Locale.html\])
{{{
<gmd:PT_Locale>
<gmd:languageCode>
<gmd:LanguageCode codeList="http://www.example.com/"
codeListValue="http://www.example.com/">string</gmd:LanguageCode>
</gmd:languageCode>
<gmd:country>
<gmd:Country codeList="http://www.example.com/"
codeListValue="http://www.example.com/">string</gmd:Country>
</gmd:country>
<gmd:characterEncoding>
<gmd:MD_CharacterSetCode codeList="http://www.example.com/"
codeListValue="http://www.example.com/">string</gmd:MD\_CharacterSetCode>
</gmd:characterEncoding>
</gmd:PT_Locale>
}}}
I have upload a proposed patch based on the update-fixed-info.xsl from
update-fixed-info.xsl
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1055#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#1055: MCP - unable to add "Other language"
----------------------------------+-----------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: User interface (web) | Version: v2.8.0RC0
Keywords: |
----------------------------------+-----------------------------------------
Comment(by simonp):
Fixed in commit:
https://github.com/geonetwork/schema-
plugins/commit/d4569f95a057c2a2a83678483b1b73e951ae2077
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1055#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#1055: MCP - unable to add "Other language"
-----------------------------------+----------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: v2.8.0
Component: User interface (web) | Version: v2.8.0RC0
Resolution: fixed | Keywords:
-----------------------------------+----------------------------------------
Changes (by simonp):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1055#comment:3>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#1055: MCP - unable to add "Other language"
-----------------------------------+----------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
Type: defect | Status: reopened
Priority: major | Milestone: v2.8.0
Component: User interface (web) | Version: v2.8.0RC0
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Changes (by ianwallen):
* status: closed => reopened
* resolution: fixed =>
Comment:
I believe this was just a partial fix. It fixed the issue in that I can
now select another main languages for the MCP metadata.
However if I click on "Other Languages" for the metadata I get an blank
selection box. So I cannot create a multilingual record.
This may be related to Ticket #1054?
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1055#comment:4>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#1055: MCP - unable to add "Other language"
-----------------------------------+----------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: v2.8.0
Component: User interface (web) | Version: v2.8.0RC0
Resolution: fixed | Keywords:
-----------------------------------+----------------------------------------
Changes (by simonp):
* status: reopened => closed
* resolution: => fixed
Comment:
Yes - Both languageCode *and* language need to be processed in iso19139
mode to pick up the language select box - why can't we all speak one
language eg. esperanto? - would make things much easier! Thanks.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1055#comment:5>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.