[GeoNetwork-devel] French documentation code

I was recently compiling the docs so that the help link would work.

When it came to do the French I noticed the the 3 char code seems to differ
from the rest of the geonetwork site which mostly seems to be using FRE but
the docs uses FRA.

In order to get the french help to work I had to add the following to
web/pom.xml

<resource>
     <directory>../docs/fra/users/build/html</directory>
      <targetPath>docs/fra/users</targetPath>
</resource>

and I had to fix banner.xsl as it was looking for "fr" instead of "fre"

          <xsl:choose>
            <xsl:when test="/root/gui/language='fre'">
               <xsl:value-of select="/root/gui/strings/help"/>
<{/root/gui/url}/docs/fra/users>
            </xsl:when>

Just wondering, if changing folder from fra to fre will cause any issues.

Francois - any objections?

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/French-documentation-code-tp5018875.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Ian,

···

2012/11/26 ianwallen <ianwallen@anonymised.com>

I was recently compiling the docs so that the help link would work.

When it came to do the French I noticed the the 3 char code seems to differ
from the rest of the geonetwork site which mostly seems to be using FRE but
the docs uses FRA.

True, the doc use 3 letters code since a long time.

In order to get the french help to work I had to add the following to
web/pom.xml

../docs/fra/users/build/html docs/fra/users

and I had to fix banner.xsl as it was looking for “fr” instead of “fre”

xsl:choose
<xsl:when test=“/root/gui/language=‘fre’”>
<xsl:value-of select=“/root/gui/strings/help”/>
<{/root/gui/url}/docs/fra/users>
</xsl:when>

Just wondering, if changing folder from fra to fre will cause any issues.

Francois - any objections?

The main issue I see is that link to the public website will fail.
http://geonetwork-opensource.org/manuals/trunk/fra/users/index.html

but I’ve no objection to make the language codes more homogeneous.

Cheers.

Francois


View this message in context: http://osgeo-org.1560.n6.nabble.com/French-documentation-code-tp5018875.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Francois,

After further research I think we should go the other way around. We should
be changing FRE to FRA.

Here are the reasons.
1 - iso639-3 uses FRA
    http://www-01.sil.org/iso639-3/codes.asp?order=639_3&letter=f

2 - According to Wikipedia - iso639-2
(http://en.wikipedia.org/wiki/ISO_639-2) contains ISO 639-2/T and ISO
639-2/B. "In general the T codes are favored; ISO 639-3 uses ISO 639-2/T."
ISO 639-2/T uses the "FRA"

What are your thought?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/French-documentation-code-tp5018875p5090448.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Ian,

···

2013/11/21 ianwallen <ianwallen@anonymised.com>

Francois,

After further research I think we should go the other way around. We should
be changing FRE to FRA.

Here are the reasons.
1 - iso639-3 uses FRA
http://www-01.sil.org/iso639-3/codes.asp?order=639_3&letter=f

2 - According to Wikipedia - iso639-2
(http://en.wikipedia.org/wiki/ISO_639-2) contains ISO 639-2/T and ISO
639-2/B. “In general the T codes are favored; ISO 639-3 uses ISO 639-2/T.”
ISO 639-2/T uses the “FRA”

What are your thought?

We’re using “fre” in GeoNetwork because mainly of the INSPIRE Directive in Europe which define:
"Codelist (See ISO/TS 19139) based on alpha-3 codes of

ISO 639-2. Use only three-letter codes from in ISO 639-
2/B (bibliographic codes),"

(cf. “INSPIRE Metadata Implementing Rules”)

ISO19115 defines “LanguageCode <> (ISO 639-2 3-alphabetic digits code)” and does not mentionned bilbiographic and terminological code.

Cheers.
Francois


View this message in context: http://osgeo-org.1560.x6.nabble.com/French-documentation-code-tp5018875p5090448.html

Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Francois,

Thank you for that explanation.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/French-documentation-code-tp5018875p5090494.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.