TagEditor and meta tags (description / keywords) - how to make them translatableI was surprised to find out that the default tag definitions for HTML in TagEditor did not include the meta tags
keywords and
description as translatable elements. Not that TagEditor is my environment of choice when it comes to translating html (I very much prefer tagging them with Rainbow or +Tools and translating in Word).
Playing around with the
HTML4.ini file I managed to get to the point where I can translate all meta tags.
How do you do that?Method 1 [NB. This makes all meta tags editable, you should only open and translate Keywords and Description]. In TagEditor, you go to:Tools -> Tag settings Double click
Predefined HTML settingsClick the tab
ElementsScroll down until you find
METADouble-click on
METAOn the General tab select
EMPTYClick the tab
AttributesCheck
contentPress
OKPress
OK again
Press
OK once again

Here are the changes that it makes to meta tag:
Tag59=META:External,Empty,Translatable Attributes:content,Other Attributes:NAME,Description,Keywords,http-equiv,dir,scheme,lang
(In C:\Program Files\SDL International\T2006\TT\HTML4.ini file)
I uploaded a file called
html-test.ini so that you do not have to mess up with your main
HTML4.ini file.
Method 2 [This is more complex, but you only get description and keywords as translatable elements]It appears to be a strange approach, as one has to duplicate META tag (without renaming it or else it will not work!) and set one condition for each instance, rather than setting both conditions for one instance of the META tag! Unbelievable but true!
In TagEditor, you go to:Tools -> Tag settings Double click
Predefined HTML settingsClick the tab
ElementsScroll down until you find
METADouble-click on
METAClick on
ConditionsClick on
AttributeOn the left drop-down select
NAMEOn the right drop-down enter
keywordsClick
OKClick
OK again
Click
OK once again
Click on
METAClick
DuplicateClick
ConditionsClick on
Value="keywords"Click on
AttributeEnter
description on the right box
Click
OKClick
OK again
Click
OK once again
Click
OK one more time
(or use the attached html-only-description-keywords.rar file)