Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Simple Transformation

Former Member
0 Likes
750

Hello All,

I was curious to know if a Simple Transformation using HTML could be translatable to different languages?  Can the text bolded and highlighted in red be converted to a different language somehow?

Thanks in advance!

Rene

<?sap.transform simple?>

<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">

<tt:root name="PARAM"/>

<tt:template name="Main">

<html>
    <head>
        <style type="text/css">

            .labelTxt{TEXT-ALIGN: right}
            .dataTxt{TEXT-ALIGN: left}
            .rowData{TOP-MARGIN: 10}
        </style>
    </head>

    <body>

    <p>

       <B> Hello <tt:value ref="PARAM.USER_ASSIGNED_TO" />! </B>

    </p>

    <p> This notification is to inform that you have been assigned a new action item that requires your attention.</p>

...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
665

Automatic translation does not happen.

You can maintain the language dependent text in text elements and then pass it to transformation just like PARAM.USER_ASSIGNED_TO.

It is also possible to use Conditions - Simple Transformations tt:cond or tt:cond-var to change output text based on some input parameter.

2 REPLIES 2
Read only

Former Member
0 Likes
666

Automatic translation does not happen.

You can maintain the language dependent text in text elements and then pass it to transformation just like PARAM.USER_ASSIGNED_TO.

It is also possible to use Conditions - Simple Transformations tt:cond or tt:cond-var to change output text based on some input parameter.

Read only

0 Likes
665

Thanks for you reply Manish.  Due to time constraints we wound up going with an alternative solution.

Rene