OASIS XML Localisation Interchange File Format (XLIFF) TC

Re: [xliff] context-group proposal

  • 1.  Re: [xliff] context-group proposal

    Posted 12-06-2002 11:01
     MHonArc v2.5.2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    xliff message

    [Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


    Subject: Re: [xliff] context-group proposal


    I propose the following purpose attribute values: 
    
    - location, The context-group is used to specify where the term was found in the translatable source. Thus, it is not displayed.
    
    - match,  Specifies that the context information should be used during translation memory lookups. Thus, it is not displayed.
    
    - information, Specifies that the context is informational in nature, indicating for example, how a term should be translated. Thus, should be displayed to anyone editing the XLIFF.
    
    Combinations of these values can be made via the standard mechanism of XLIFF. Thus, purpose="location;match" would provide both location and TM matching contextual information. The schemas for this is below.
    
    
    xliff-1-1.xsd
    ?-------------
    <xsd:complexType name="ElemType_context-group">
     <xsd:sequence maxOccurs="unbounded">
      <xsd:element name="context" type="xlf:ElemType_context"/>
     </xsd:sequence>
     <xsd:attribute name="name" type="xsd:string" use="required"/>
     <xsd:attribute name="purpose" type="xsd:string" use="optional"/>
     <xsd:attribute name="crc" type="xsd:NMTOKEN" use="optional"/>
    </xsd:complexType>
    
    xliff-values-1-1.xsd
    ?-----------------------
    <xsd:simpleType name="context-purposeValueListStd">
      <xsd:annotation>
        <xsd:documentation>Values for the attribute 'purpose'.</xsd:documentation>
      </xsd:annotation>
      <xsd:restriction base="xsd:string">
        <xsd:enumeration value="location">
          <xsd:annotation>
            <xsd:appinfo><xyz:proposal>Mark Levins</xyz:proposal></xsd:appinfo>
            <xsd:documentation>The context-group is used to specify where the term was found in the translatable source. Thus, it is not displayed.</xsd:documentation>
          </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="match">
          <xsd:annotation>
            <xsd:appinfo><xyz:proposal>Mark Levins/John Reid</xyz:proposal></xsd:appinfo>
            <xsd:documentation>Specifies that the context information should be used during translation memory lookups. Thus, it is not displayed.</xsd:documentation>
          </xsd:annotation>
        </xsd:enumeration>
        <xsd:enumeration value="information">
          <xsd:annotation>
            <xsd:appinfo><xyz:proposal>Mark Levins</xyz:proposal></xsd:appinfo>
            <xsd:documentation>Specifies that the context is informational in nature, indicating for example, how a term should be translated. Thus, should be displayed to anyone editing the XLIFF.</xsd:documentation>
          </xsd:annotation>
        </xsd:enumeration>
      </xsd:restriction>
    </xsd:simpleType>
    
    
    cheers,
    john
    
    
    
    
    


    [Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


    Powered by eList eXpress LLC