Formato TermBase eXchange

Adicionado na versão 4.5.

Alterado na versão 5.12.

TBX é um formato XML para a troca de dados de terminologia.

Recursos suportados

File extensions

.tbx

Linguality

Bilingual

Supports plural

No

Supports descriptions

Yes

Supports explanation

Yes

Supports context

Yes

Supports location

No

Supports flags

Yes

API identifier

tbx

Supports read-only strings

No

Administrative status:

Terms with administrative status forbidden or obsolete in <termNote type="administrativeStatus"> are marked with the forbidden flag (Traduções proibidas).,

Translation needed:

Terms with <termNote type="translationNote"> containing no are marked as read-only (Termos não traduzíveis).,

Usage notes:

Usage notes from <descrip type="Usage note"> tags are displayed in the glossary.,

Nota

Explicação: Source string explanation is saved and loaded from the <descrip> tag, translation string explanation from <note from="translator">

Explicações

O Weblate carrega e salva explicações de arquivos TBX para serem exibidas no Glossário.

  • A explicação da tradução é armazenada como tag <note from="translator"></note>.

  • A explicação do texto fonte é armazenada como tag <descrip></descrip>.

Exemplo de arquivos

Exemplo de arquivo:

<?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>
                <langSet xml:lang="en">
                  <tig>
                    <term>administrator</term>
                  </tig>
                </langSet>
                <langSet xml:lang="cs">
                  <tig>
                    <term>správce</term>
                  </tig>
                </langSet>
            </termEntry>
            <termEntry>
                <langSet xml:lang="en">
                  <tig>
                    <term>administrate</term>
                  </tig>
                </langSet>
                <langSet xml:lang="cs">
                  <tig>
                    <term>spravovat</term>
                  </tig>
                </langSet>
            </termEntry>
            <termEntry>
                <langSet xml:lang="en">
                  <tig>
                    <term>always on top</term>
                  </tig>
                </langSet>
                <langSet xml:lang="cs">
                  <tig>
                    <term>vždy navrchu</term>
                  </tig>
                </langSet>
            </termEntry>
        </body>
    </text>
</martif>

Configuração do Weblate

Configuração de componente típica do Weblate

Máscara do arquivo

tbx/*.tbx

Arquivo de idioma da base monolíngue

Vazio

Modelo para novas traduções

Vazio

Formato de arquivo

Arquivo TermBase eXchange