09-02-2015 2:52 PM
Hi to all experts ,
i am working on smartform now. Now i want to transfer text from one language into other language.
suppose let us thing i am implemented a one smartform in EN now i want to convert into DE. for this people give goto se63 do translate.
Now my questions are
1.In se63 we need to transfer language manually but i dont want like this. I need to translate text dynamically.
i mean if i log in EN the text should be display in EN. if i log in DE the text should be displayed in DE.
2.I want to print smartform based on the login language.
if i log in EN the smartform display in EN itself and if i log in DE same smartform shoul be displayed in DE.
For second questions some one told import NAST to smartform or import CONTROL_PARAMETER language to smartform
but both are not working. can any one help me please.
Thanks to all.
09-02-2015 3:20 PM
Hi,
Do you want something like Google translate to be done dynamically for smart form ?
From theoretical point it is possible if you can use for example Microsoft Translator API
http://www.microsoft.com/en-us/translator/translatorapi.aspx
For more practical use see:
Regards .
09-02-2015 3:01 PM
Use text modules in your form.
In the text modules you have the option to specify the language(sy-langu)
Just make sure your text exists in that language.
09-02-2015 3:14 PM
Hi Sri,
1. If you translate the form using SE63, the the form will be displayed in translated.
i,e: if you have Translation for DE, then if the user is logged in DE, then the form will be displayed in DE. (Note this is while displaying the form Using Smartforms Tcode, not during Print Preview). If translation is not maintained, then The form will be displayed in Original Language. (In your case it's EN).
2. For printing the form in Logon language, as suggested earlier pass NAST parameters. NAST-SPRAS should be SY-LANGU. (While calling the form). This is usually passed by print program.
Hope it helps..
Regards,
Deepan Swaminathan.
09-02-2015 7:20 PM
Thanks for your valuable replay, Deepan it is not work in smartform even you pass the NAST-SPRAS i tried it....
09-02-2015 3:20 PM
Hi,
Do you want something like Google translate to be done dynamically for smart form ?
From theoretical point it is possible if you can use for example Microsoft Translator API
http://www.microsoft.com/en-us/translator/translatorapi.aspx
For more practical use see:
Regards .
09-02-2015 7:59 PM