Re: [L-A Lokalisointi] Sanakirjan toteutuksesta

Marko Gronroos <[email protected]> Wed, 18 Feb 2004 14:00:51 +0200 (EET)
Newsgroups gmane.comp.internationalization.finnish.general
Message-ID <[email protected]>
Se XML-hahmotelmani oli seuraavanlainen. Tosin tuossa Calc-versiossa tuli nyt
sitten hieman lisäkenttiä, yms.

<?xml version='1.0'?>

<entries srclng="english" trglng="finnish">

  <entry name="hostname">
    <homograph id="1" function="noun">
      <sense id="1">
        <subsense id="a">
          <translation>verkko-osoite</translation>
          <example></example>
        </subsense>

        <subsense id="b">
          <translation>tietokoneen nimi</translation>
          <example></example>
        </subsense>

        <subsense id="b">
          <translation>verkkoaseman nimi</translation>
          <example></example>
        </subsense>

        <ref entry="host"/>
      </sense>
    </homograph>
  </entry>

  <entry name="folder">
    <homograph id="1" function="noun">
      <sense id="1">
        <translation usage="KDE">kansio</translation>
        <translation usage="Gnome">hakemisto</translation>
        <example></example>
      </sense>
    </homograph>
  </entry>

  <entry name="home folder">
    <homograph id="1" function="noun">
      <hierarchy><generalization entry="folder" homograph="1"
sense="1"/></hierarchy>
      <sense id="1">
        <subsense id="a">
          <translation>kotikansio</translation>
          <example></example>
        </subsense>

        <subsense id="b">
          <translation>kotihakemisto</translation>
          <example></example>
        </subsense>
      </sense>
    </homograph>
  </entry>


</entries>


-- Marko Grönroos, [email protected] (http://www.iki.fi/magi/)