tt4t.net
tips & tricks
for translators
OpenOffice, HTML, & TMX  
Contents  

OpenOffice (OOo)

About OOo files

Editing a DV 2-column file

Word & Character Count

HTML

HTML Validation

Accented words in HTLM

HTM/ASP/VBS/JS/Access Filters

TMX

Is it a valid file?

Importing a TMX file

 

OpenOffice

About OOo files

OpenOffice.org files are XML zipped files. It is better to handle files as XML. To do that:

1. Rename filename.sxw to filename.zip.

2. Unzip file.

3. Work normally with unzipped xml files.

4. Revert process after translation (zip and rename file).


Top - Home/Disclaimer

Editing a DV3 2-column file

Sabine Cretella

Attention: macros bellow will not be necessary for DV's newer builds (posterior to 2.0.238). DVX export external view files readable in OOo

Sabine created a couple of OOo macros to allow the editing of a 2-columns file in OO.

1 - Macro to convert a DV3 exported table into a three column OOo table for easier proof reading (click here to download).

2 - Macro to convert a OpenOffice.org three column table (previously created with the DV_txt_list_to_table.bas macro) into DV3 importable text format (click here to download).

For instructions on how to copy the macro into the OOo-Macro section, please click here (It is under Section 2.1).


Top - Home/Disclaimer

Word and character count in highlighted text

Sabine Cretella

OOo macro to count words and chars in a selected part of an OOo-Writer document (click here to download).

For instructions on how to copy the macro into the OOo-Macro section, please click here (It is under Section 2.1).


Top - Home/Disclaimer

HTML

HTML Validation

Most problems on HTML files are related to wrong syntax. This can cause text to disappear, bad formatting, etc. To check syntax, use an HTML Validator before translating.

For HTML Validador software (freeware and otherwise), visit CSE, Test Tools and Site Management Tools, etc.


Top - Home/Disclaimer

HTMT/ASP/VBS/JS/Access files Filters

For more info on how to filter specific tags, see:

http://www.atril.com/docs/HTMLASPconf.rtf


Top - Home/Disclaimer

Accented words in HTML (DV3)

 

There are two ways to get accented words in HTML files: the "normal" way (, , etc.) or the encoded way (&aacute, etc.)

 

For Déjà Vu to use the second way, when exporting a translated file, in the Export What dialog box, choose Export as plain text and Export special characters as entities.


Top - Home/Disclaimer

TMX

Is it a valid file?

Yves Maurer (Atril)

The first thing to check with TMX files is whether they are valid XML files. If they are not valid XML, then DVX will not import them (and they are not valid TMX either). The easiest way to check this is to rename the file and give it a ".xml" extension. Then open this file in your favourite Internet Browser. If the file is valid, it will probably take some time to load and it will display the TMX file in some sort of tree view. If it is not valid, then it will point out the error.


Top - Home/Disclaimer

Importing a TMX file

Klaus Hermann

Use any text editor to open the TMX file and change the line

<tmx version="revision1.4"> to

<tmx version="1.4"> and you're all set.


Top - Home/Disclaimer