XSLT_TAO/filtres_TMX_pour_Calc/TMX-readme.txt

59 lines
2.7 KiB
Plaintext

Dominique Meeùs (dominique@d-meeus.be, https://d-meeus.be),
created 30-9-2013, version 0.9.
(If my surname is not shown correctly, mind the fact that this file is encoded in UTF-8.)
(One would have written Meeùs in old HTML entities for older charachters encodings.)
Copyright 2013 Dominique Meeùs, see below.
Modified 28-11-2019 (this readme file) as 0.91 for the position of the command
to install in new versions of LibreOffice.
Modified 21-5-2020 (the XML export filter) as 0.92 to allow five columns nl-BE, fr-BE, de-DE, en-GB, es-ES.
(Originally two columns only.)
This TMX-filters software provides two XSLT filters
to import or export TMX translation memories
to and from LibreOffice (or OpenOffice.org) Calc.
Installation
============
The package TMX-filters-vx_y.jar has to be installed in LibreOffice
by the standard dialog from the menu Tools,
command Macros > XML Filter Settings…
[command directly XML Filter Settings… in older versions]
Click the button Open Package… and browse to the package.
Limitation
==========
Source language nl-BE (Dutch) and targets fr-BE (French), de-DE, en-GB, es-ES
are hardcoded in the export filter.
The segments in two or more of the above languages have to be put
in the corresponding columns A (nl), B (fr), C (de), D (en), E (es) of Calc.
Some columns may stay empty.
The source language is marked srclang="nl-BE" near the end of line 3.
It suffices to change this attribute value to change the source language.
The order A (nl), B (fr), C (de), D (en), E (es) in compulsory in Calc
to have the segments correctly marked for their language.
Each segment being so marked, the order has no effect on the translation memory. Only srclang matters
For other languages you have to search and replace these attribute values in the TMX
or edit the export filter.
Feel free to e-mail me if you think of a way to improve this.
Use
===
— To read a TMX in LibreOffice Calc: File, Open…
— To produce a TMX sentences aligned in two columns in LibreOffice Calc,
File, Save as… (not Export…) and choose type TMX (likely all the way down a long list).
License
=======
Copyright 2013, 2020 Dominique Meeùs.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program.
If not, see http://www.gnu.org/licenses/.