Difference between revisions of "Converter .csv to .tbx. Creación dunha terminoloxía a partir dun ficheiro en Calc (.ods)"

From Proxecto Trasno
(Nova páxina: "Se queremos crear un ficheiro de terminoloxía en formato TBX resulta moi laborioso facelo á man. Para automatizalo da maneira máis práctica temos dúas ferramentas: 1- csv2tbx f…")
 
Line 6: Line 6:
 
----
 
----
 
1.
 
1.
 +
Siga as instrucións da páxina de referencia
 
2.
 
2.
Creación dunha folla de cáculo con dúas columnas (ou máis). Unha para cada idioma
+
Creación dunha folla de cálculo con dúas columnas (ou máis). Unha para cada idioma
  
Example
 
  
EN-US                  NL-NL
+
== Example ==
SQL statement          SQL-instructie
+
 
Application            Toepassing
+
 
Not supplied            Niet meegeleverd
+
|EN-US|                   NL-NL|
Not supplied            Niet inbegrepen
+
|SQL statement|           SQL-instructie|
 +
|Application|             Toepassing|
 +
|Not supplied|           Niet meegeleverd|
 +
|Not supplied|           Niet inbegrepen|
 
   
 
   
Installation
+
 
 +
== Installation ==
  
 
Download the XML Filter Package ODStoTBX.jar and save it locally
 
Download the XML Filter Package ODStoTBX.jar and save it locally
Line 27: Line 31:
 
Close the XML Filter Extensions window
 
Close the XML Filter Extensions window
  
Export
+
 
 +
== Export ==
  
 
Open your 2-column Calc file
 
Open your 2-column Calc file
Line 37: Line 42:
  
  
Cabeceira recomendada
+
== Cabeceira recomendada ==
 
<code>
 
<code>
  

Revision as of 15:28, 22 March 2013

Se queremos crear un ficheiro de terminoloxía en formato TBX resulta moi laborioso facelo á man. Para automatizalo da maneira máis práctica temos dúas ferramentas:

1- csv2tbx ferramenta de TTK [1] 2- odstotbx ferramenta de QA-Distiller [2]


1. Siga as instrucións da páxina de referencia 2. Creación dunha folla de cálculo con dúas columnas (ou máis). Unha para cada idioma


Example

|EN-US| NL-NL| |SQL statement| SQL-instructie| |Application| Toepassing| |Not supplied| Niet meegeleverd| |Not supplied| Niet inbegrepen|


Installation

Download the XML Filter Package ODStoTBX.jar and save it locally Start OpenOffice Calc Select Tools > XML Filter Extensions... Select Open Package... Browse to the ODStoTBX.jar file and select Open A new filter called TermBase eXchange will appear in the list Close the XML Filter Extensions window


Export

Open your 2-column Calc file Select File > Export... Select TBX - Termbase eXchange from the File format drop-down box Activate Automatic file name extension and save your file

Nota: Pode ser necesario editar manualmente a cabeceira do ficheiro resultado xa que odstotbx proporciona unha demasiado básica que pode dar problemas coa importación en segundo que ferramentas como Terminator


Cabeceira recomendada

<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE martif SYSTEM 'TBXcoreStructV02.dtd'> <martif type='TBX' xml:lang='en'>

   <martifHeader>
       <fileDesc>
           <titleStmt>
               <title>MyPaint TerminoloxiaL</title>
           </titleStmt>
           <sourceDesc>

Creado por Antón Méixome, 2012 con http://www.qa-distiller.com/files/ODStoTBX.jar e cabeceira á man

           </sourceDesc>
       </fileDesc>
       <encodingDesc>

http://www.lisa.org/fileadmin/standards/tbx/TBXXCSV02.xcs

       </encodingDesc>
   </martifHeader>
   <text>