Formáid eXchange TermBase

Added in version 4.5.

Changed in version 5.12.

Is formáid XML é TBX chun sonraí téarmaíochta a mhalartú.

Gnéithe tacaithe

Síneadh comhaid

.tbx

Teangachas ⓘ

Dátheangach

Tacaíonn sé le hiolra ⓘ

No

Tacaíonn sé le tuairiscí ⓘ

Yes

Tacaíonn sé le míniú ⓘ

Yes

Tacaíonn sé le comhthéacs ⓘ

Yes

Tacaíonn suíomh ⓘ

No

Tacaíonn sé le bratacha ⓘ

Yes

Aitheantóir API

tbx

Tacaíonn sé le teaghráin léite amháin ⓘ

No

Tacaíonn sé le teaghráin atá as dáta a bhaint ⓘ

No

Term alternatives

Each TBX concept is one string with independent lists of source and target alternatives. Weblate reads every direct <tig> in the selected languages; IDs are optional and do not pair alternatives across languages. All source alternatives can match in the glossary, and each permitted target can be copied separately. Term statuses and notes are displayed with their alternatives.

See Multivalue formats for how alternatives are handled by quality checks, automatic fixes, and machine translation.

When editing alternatives, unchanged text is matched first, including duplicate occurrences. Remaining alternatives reuse unmatched terms in their original order, retaining IDs and metadata. Renaming and deleting alternatives together can therefore associate a renamed term with the first unmatched term's metadata. New alternatives are created without IDs. Term metadata is read-only in Weblate.

A missing target language does not remove a concept whose source exists. DNT terms can use the matching source alternative without creating a translation. Language codes still need to match the component configuration.

Mínithe

Luchtaíonn agus sábhálann Weblate míniú ó chomhaid TBX le taispeáint i Gluais.

  • Stóráiltear míniú an aistriúcháin mar chlib <note from="translator"> </note>.

  • Stóráiltear míniú ar theaghrán foinse mar chlib <descrip></descrip>.

  • Stóráiltear cur síos ar an teaghrán foinse mar chlib <descrip type="Usage note"></descrip>.

Concept notes are shared. Language notes are read only for the selected language, and term notes belong to their own alternative. Editing a target explanation does not overwrite notes in other languages.

TBX components offer native and generated TBX downloads. Conversion to formats that use grammatical plurals is unavailable because those formats cannot preserve independent source and target alternatives.

Generated TBX downloads preserve represented flags, explanations, alternative IDs, statuses, and note scopes. Weblate flags use the same weblate-flags attribute as native TBX storage. Native file editing also preserves unrecognized XML and unselected languages; generated exports contain the selected language pair.

Bratacha glosaire agus meiteashonraí inléite amháin

Iompórtálann Weblate téarmaí a bhfuil stádas riaracháin toirmiscthe nó as feidhm acu i <termNote type="administrativeStatus"> mar Aistriúcháin toirmiscthe.

Déantar téarmaí le <descrip type="Translation needed">Níl</descrip> a allmhairiú mar theaghráin inléite amháin, féach Téarmaí do-aistrithe.

Comhaid gluaise á n-iompórtáil

Is féidir le TBX teangacha iolracha a stóráil in aon chomhad XML amháin, ach mapálann Weblate gach comhad comhpháirte chuig teanga aistriúcháin ag baint úsáide as an masc comhaid comhpháirte. I gcás comhpháirt gluaise TBX, úsáidtear teanga fhoinse an chomhpháirte do théarmaí foinse agus úsáidtear an teanga a pharsáiltear ón ainm comhaid mar theanga na gluaise sprice.

Seachain ainmniú comhad aistriúcháin TBX leis an gcód teanga céanna leis an teanga foinse comhpháirte, mar go bhfuil an teanga foinse ann cheana féin i Weblate agus is féidir an comhad a bhrath mar theanga dhúblach.

The Add upload method preserves alternative IDs, statuses, and scoped notes when importing TBX into a TBX glossary.

Comhaid shamplacha

Comhad samplach:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE martif PUBLIC "ISO 12200:1999A//DTD MARTIF core (DXFcdV04)//EN" "TBXcdv04.dtd">
<martif type="TBX" xml:lang="en">
    <martifHeader>
        <fileDesc>
            <sourceDesc>
                <p>Translate Toolkit</p>
            </sourceDesc>
        </fileDesc>
    </martifHeader>
    <text>
        <body>
            <termEntry>
                <langSet xml:lang="en">
                  <tig>
                    <term>address bar</term>
                  </tig>
                </langSet>
                <langSet xml:lang="cs">
                  <tig>
                    <term>adresní řádek</term>
                  </tig>
                </langSet>
            </termEntry>
            <termEntry weblate-flags="terminology">
                <langSet xml:lang="en">
                  <tig>
                    <term>administrator</term>
                  </tig>
                </langSet>
                <langSet xml:lang="cs">
                  <tig>
                    <term>správce</term>
                  </tig>
                </langSet>
            </termEntry>
            <termEntry>
                <descrip>Example source string explanation text</descrip>
                <descrip type="Usage note">Example source string description text</descrip>
                <langSet xml:lang="en">
                  <tig>
                    <term>administrate</term>
                  </tig>
                </langSet>
                <langSet xml:lang="cs">
                  <tig>
                    <term>spravovat</term>
                    <note from="translator">Example translation string explanation text</note>
                  </tig>
                </langSet>
            </termEntry>
            <termEntry>
                <descrip type="Translation needed">No</descrip> <!-- mark as untranslateable -->
                <langSet xml:lang="en">
                  <tig>
                    <term>Weblate</term>
                  </tig>
                </langSet>
            </termEntry>
            <termEntry>
                <langSet xml:lang="en">
                  <tig>
                    <term>example forbidden term</term>
                    <termNote type="administrativeStatus">forbidden</termNote>
                  </tig>
                </langSet>
                <langSet xml:lang="cs">
                  <tig>
                    <term>příklad zakázaného výrazu</term>
                  </tig>
                </langSet>
            </termEntry>
        </body>
    </text>
</martif>

Cumraíocht Weblate

Gnáthchlár Gréasáin Cumraíocht na Comhpháirte

Masc comhaid

tbx/*.tbx

Comhad aonteangach bunteanga

Folamh

Teimpléad le haghaidh aistriúcháin nua

Folamh

Formáid comhaid

Comhad malartaithe TermBase