.Xlf from Typo3 contains html codes

We received .xlf files from Typo3 that contain a lot of html codes. Is there any chance to handle that in Studio?

Here is an example:

0px 0px 15px; padding:
0px; border:
0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size:
12.012px; line-height:
15.6156px; font-family:
Arial, sans-serif; vertical-align: baseline; color: rgb(102, 102, 102); letter-spacing: normal; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows:
1; word-spacing:
0px; -webkit-text-stroke-width:
0px; background-color: rgb(255, 255, 255); ">M lieferte als Ersatz einen Kaltwassersatz mit einer Leistung von 290 kW sowie sämtliche Schläuche und Elektrokabel.</p>
Swiss Nutrition Hochdorf, Werk Sulgen
<div class="reference-header" style="margin:
0px 0px 10px; padding:
10px 0px; border-width:
1px 0px; border-top-style: solid; border-bottom-style: solid; border-top-color: rgb(235, 237, 238); border-bottom-color: rgb(235, 237, 238); font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size:

Parents
  • To give an Impression of how little of the selection Needs translating I've highlighted in red which bits won't need doing

    0px 0px 15px; padding:
    0px; border:
    0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size:
    12.012px; line-height:
    15.6156px; font-family:
    Arial, sans-serif; vertical-align: baseline; color: rgb(102, 102, 102); letter-spacing: normal; orphans: auto; text-align: start; text-indent:
    0px; text-transform: none; white-space: normal; widows:
    1; word-spacing:
    0px; -webkit-text-stroke-width:
    0px; background-color: rgb(255, 255, 255); ">M lieferte als Ersatz einen Kaltwassersatz mit einer Leistung von 290 kW sowie sämtliche Schläuche und Elektrokabel.</p>
    Swiss Nutrition Hochdorf, Werk Sulgen
    <div class="reference-header" style="margin:
    0px 0px 10px; padding:
    10px 0px; border-width:
    1px 0px; border-top-style: solid; border-bottom-style: solid; border-top-color: rgb(235, 237, 238); border-bottom-color: rgb(235, 237, 238); font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size:


    The code seems very formatting heavy, but would presume that what you want is in between the <p> or in <div> tags. Regular expressions (RegExes) will be your friend. Otherwise is there a possibility to save as HTML - since that will probably make it easier to detect the tags.

    Hopefully this link will help you: www.pagecolumn.com/.../all_about_html_tags.htm

Reply
  • To give an Impression of how little of the selection Needs translating I've highlighted in red which bits won't need doing

    0px 0px 15px; padding:
    0px; border:
    0px; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size:
    12.012px; line-height:
    15.6156px; font-family:
    Arial, sans-serif; vertical-align: baseline; color: rgb(102, 102, 102); letter-spacing: normal; orphans: auto; text-align: start; text-indent:
    0px; text-transform: none; white-space: normal; widows:
    1; word-spacing:
    0px; -webkit-text-stroke-width:
    0px; background-color: rgb(255, 255, 255); ">M lieferte als Ersatz einen Kaltwassersatz mit einer Leistung von 290 kW sowie sämtliche Schläuche und Elektrokabel.</p>
    Swiss Nutrition Hochdorf, Werk Sulgen
    <div class="reference-header" style="margin:
    0px 0px 10px; padding:
    10px 0px; border-width:
    1px 0px; border-top-style: solid; border-bottom-style: solid; border-top-color: rgb(235, 237, 238); border-bottom-color: rgb(235, 237, 238); font-style: normal; font-variant: normal; font-weight: normal; font-stretch: inherit; font-size:


    The code seems very formatting heavy, but would presume that what you want is in between the <p> or in <div> tags. Regular expressions (RegExes) will be your friend. Otherwise is there a possibility to save as HTML - since that will probably make it easier to detect the tags.

    Hopefully this link will help you: www.pagecolumn.com/.../all_about_html_tags.htm

Children