Reprendre la version originale du texte

Reprise du texte descriptif original pour la version 0.92 trouvé sur le [site de Dominique](https://d-meeus.be/linux/TMX-filters.html).

Les ajouts et corrections sont apportées à partir de la version 0.93.
This commit is contained in:
Philippe Tourigny 2023-05-26 17:37:17 +02:00
parent 75f02cd14f
commit 12de6b14ae
1 changed files with 28 additions and 17 deletions

View File

@ -1,41 +1,52 @@
Dominique Meeùs (dominique@d-meeus.be, www.d-meeus.be),
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.)
Modified 28-11-2019 as 0.91 for the position of the command
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.)
Updated to version 0.99 on 12-9-2022 by Philippe Tourigny (kazephil@gmail.com) to reflect the addition of new functionality and changes to the limitations.
Copyright 2013 Dominique Meeùs, and 2022 Philppe Tourigny. See below.
The TMX-filters software provides two XSLT filters
This TMX-filters software provides two XSLT filters
to import or export TMX translation memories
to and from LibreOffice (or OpenOffice.org).
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,
Macros > XML Filter Settings…
[or just XML Filter Settings… in older versions]
command Macros > XML Filter Settings…
[command directly XML Filter Settings… in older versions]
Click the button Open Package… and browse to the package.
Limitations
===========
For the export filter, enter the appropriate language code in each column of the first row. The source language must be entered in column A, and the target language in column B is used as the administrative language for the translation memory. If you wish to use an administrative language other than one of your target languages, you will have to edit either the resulting TMX file or the code of the filter.
The import filter assumes that all <tu> elements in the file have the same number of languages, in the same order, and retrieves the language code from the <tuv> elements in the first <tu>. This means that importing a TMX containing <tu> elements with more <tuv> elements than others will result in some rows having additional entries in a column without a header, and with some languages entered in the wrong column.
Feel free to e-mail us if you think of a way to improve this.
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 or more columns in LibreOffice Calc,
File, Save as… and choose type TMX (likely all the way down a long list).
— 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 Dominique Meeùs.
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,
@ -44,4 +55,4 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
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/.
If not, see http://www.gnu.org/licenses/.