XSLT_TAO/filtres_TMX_pour_Calc/README.txt

54 lines
3.3 KiB
Plaintext
Raw Normal View History

Dominique Meeùs (dominique@d-meeus.be, www.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.)
2023-04-21 16:49:00 +02:00
Modified 28-11-2019 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
to import or export TMX translation memories
to and from LibreOffice (or OpenOffice.org).
Installation
============
2023-04-22 16:37:12 +02:00
Install the TMX-filters-vx_y.jar package in LibreOffice using the standard dialog from the Tools menu using either
XML Filter Settings…, or
Macros > XML Filter Settings…
2023-04-22 16:37:12 +02:00
depending on your version of LibreOffice.
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.
Use
===
2023-04-22 16:37:12 +02:00
— To read a TMX in LibreOffice Calc: Due to a bug in the program, you have to explicitly choose the TMX filter from the list of file types in the dialog presented after you click File, Open…. (You can also open it from the start screen if it has been opened before and is still in your recent documents.)
Warning:
Neither double-clicking nor drag and drop will work.
— To produce a TMX: align sentences in two or more columns in LibreOffice Calc, go to File, Save as… and choose type TMX (likely all the way down a long list).
License
=======
Copyright 2013 Dominique Meeùs and 2022 Philippe Tourigny.
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/.