Application Development 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: 

Dynamic translation of Text to Thai language in smartforms

0 Kudos

Hi Folks,

I need to print a smartform, where the SOLD TO address need to print on either English or Thai language depend on the output type.

I did the following steps, but couldn't get the desired output to print in Thai.

1. We created a new output type especially for printing Thai font.

2. In smartstyles, I created a new paragraph format 'TL' with font name as 'Thangsan'.

3. In Smartforms, 'Form Attributes' I selected 'Into selected languages' option and chose Thai.

4. Applied the Thai font 'TL' for the SOLD-TO address by passing the desired output type in the condition type

But, when I am executing the form, it still showing the output in English instead of Thai. Pleas suggest me where did I go wrong and please give me some inputs of how to achieve the functionality. I have searched SDN for this, but mostly I am getting results on how to translate text using SE63 (For hardcoded ones). But here I need to display it at run time as the data is coming from tables. Please advice if there is any step by step procedure available.

Thanks in advance,

Santosh.

3 REPLIES 3

0 Kudos

0 Kudos

Hi Janu,

Thanks for the reply.

But, the link you provided is not helpful as only some fields of the form (for eg, Remarks, address) need to print in Thai. Remaining part of the form still need to print in English.

Regards,

Santosh.

former_member182550
Active Contributor
0 Kudos

If the data is coming from tables then the address is already in the Thai language ?  If it is then surely the only thing you need to do is to provide the relevant fonts for the smart form.

You can do this by using cascading fonts and printer SWINCF.

If it's not,  then how do you expect SAP to translate it from Latin to Thai ?

Regards

Rich