Editing Converter .csv to .tbx. Creación dunha terminoloxía a partir dun ficheiro en Calc (.ods)
From Proxecto Trasno
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The system administrator who locked it offered this explanation: Esta wiki está temporalmente en modo de só lectura
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 21: | Line 21: | ||
* [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/csv2tbx.html#two-column-csv Como converter un CSV de terminoloxía con dúas columnas] | * [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/csv2tbx.html#two-column-csv Como converter un CSV de terminoloxía con dúas columnas] | ||
− | + | {{Nota|O ficheiro TBX resultante emprega '''<langSet xml:lang="xx">''' para indicar o idioma destino. Terá que modificarse o ficheiro resultante para substituír ditas etiquetas por outras que indiquen o idioma destino, por exemplo '''<langSet xml:lang="gl">''' para o galego.}} | |
− | |||
− | |||
− | |||
== Exemplo con odstotbx == | == Exemplo con odstotbx == | ||
Line 68: | Line 65: | ||
*Activar o nome de ficheiro con extensión automática e gardar o seu ficheiro | *Activar o nome de ficheiro con extensión automática e gardar o seu ficheiro | ||
− | === | + | === Cabeceira recomendada === |
− | |||
− | |||
− | |||
− | |||
− | |||
− | Pode ser necesario editar manualmente a cabeceira do ficheiro | + | 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. |
+ | Tamén pode resultar de interese pasarlle unha ferramenta para comprobar que o esquema do TBX é válido: [http://sourceforge.net/projects/tbxutil/ TBXcheck] | ||
<pre> | <pre> | ||
− | <?xml version= | + | <?xml version='1.0' encoding='UTF-8'?> |
− | <!DOCTYPE martif SYSTEM | + | <!DOCTYPE martif SYSTEM 'TBXcoreStructV02.dtd'> |
− | <martif type= | + | <martif type='TBX' xml:lang='en'> |
<martifHeader> | <martifHeader> | ||
<fileDesc> | <fileDesc> | ||
<titleStmt> | <titleStmt> | ||
− | <title> | + | <title>MyPaint TerminoloxiaL</title> |
</titleStmt> | </titleStmt> | ||
<sourceDesc> | <sourceDesc> | ||
− | <p>Creado por Antón Méixome, 2012 con http://www.qa-distiller.com/files/ODStoTBX.jar | + | <p>Creado por Antón Méixome, 2012 con |
− | + | http://www.qa-distiller.com/files/ODStoTBX.jar e cabeceira á man</p> | |
</sourceDesc> | </sourceDesc> | ||
</fileDesc> | </fileDesc> | ||
<encodingDesc> | <encodingDesc> | ||
− | <p type= | + | <p type='XCSURI'>http://www.gala-global.org/oscarStandards/tbx/TBXXCSV02.xcs</p> |
</encodingDesc> | </encodingDesc> | ||
</martifHeader> | </martifHeader> |