Mobile menu

Converting HTML to INI to TTX for TagEditor
Thread poster: Global LT

Global LT
United States
Local time: 05:48
Nov 11, 2005

Converting HTML to INI to TTX for TagEditor


The Problem:

Text following the main title in an html file is not visible when converting the file in .ttx format in order to work with Tag Editor. The text is hidden in a tag which can not be modified or opened.

Some chunks of translatable text appear to be untranslatable in a inaccessible tag. Once files are cleaned and reconverted into html format, the whole text appears translated EXCEPT for those chunks. We can identify the chunks that have been left untranslated once we CLEAN the html files that were worked on in Tag Editor, not before.


Someone suggested the following:

This may have to do with "INI" files and a special INI is necessary. We are working with Trados predefined INI file, but need the appropriate file in order to translate everything.


Plea for help:

Please advise regarding a solution to this problem. (Do you know anything about using/creating .ini files from .html files? If so, please advise.)


Thanks.


Direct link Reply with quote
 

Hynek Palatin  Identity Verified
Czech Republic
Local time: 11:48
English to Czech
+ ...
DTD settings Nov 11, 2005

This may have to do with "INI" files and a special INI is necessary.


Exactly. You need to add the tag to the INI file. You can create a new one based on the default INI file for HTML and edit it. The procedure is described in TagEditor Help - go to the Glossary and search for "Tags, Adding".


Direct link Reply with quote
 

Global LT
United States
Local time: 05:48
TOPIC STARTER
The TRADOS Solution Nov 16, 2005

TRADOS provided the following solution:

This and other HTML files contain large Java Script sections. Not only they are counted in Analyse process, they are also translatable in TagEditor, which is something you don't want.
Please follow this Knowledge Base article http://support.trados.com/view.asp?cntID=795 to make Java Script non-translatable.

How To: Making text in Java and VB scripts non-translatable (HTML, ASP and JSP documents)

Applies to: Translator's Workbench 3/TagEditor, Translator's Workbench 5/5.5

SYMPTOMS

When an HTML, ASP or JSP document containing scripts is opened in TagEditor (build 139 or later), any text enclosed in quotation marks is displayed for translation.
In HTML documents this text will appear within tags, and in ASP or JSP documents, within tags.
The default setting makes this text available for translation.This is controlled by a setting in the HTML4.ini.

EXPLANATION

The HTML4.ini file is located in the Translator's Workbench installation folder. The setting AllowTranslatableScripts in the [ReaderSettings] section governs whether this text is available for translation or not. By default, it is set to Yes: change this setting to No to hide this text from translation.

STEPS


Exit TagEditor if it is running.
Open the HTML4.ini file in Notepad.
Go to the [ReaderSettings] section.
In the line AllowTranslatableScripts=Yes, change Yes to No.
Save the modified HTML4.ini file and close Notepad.
Re-start TagEditor.
Any text in quotation marks occurs within HTML tags or ASP/JSP tags is no longer be available for translation.


Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Converting HTML to INI to TTX for TagEditor

Advanced search


Translation news related to SDL Trados





Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
Across v6.3
Translation Toolkit and Sales Potential under One Roof

Apart from features that enable you to translate more efficiently, the new Across Translator Edition v6.3 comprises your crossMarket membership. The new online network for Across users assists you in exploring new sales potential and generating revenue.

More info »



All of ProZ.com
  • All of ProZ.com
  • Term search
  • Jobs