on 2010 Dec 30 9:02 AM
Hi Experts,
In Adobe form, I have hardcoded a text inside the Script Editor.
Now i need to maintain translation for it in another language. Is it possible?
I have checked option Goto -> Translation. But that text is not available there.
Kindly give me some suggestions!
Request clarification before answering.
I know what you are trying to do and that is NOT the way to handle it. haha This is EXACTLY why I never put texts to display within my script (Javascript). The better way to do it is this.....have a hidden text element on your form. Then show/hide it using your script. Since it is PART of the actual form, you can then translate it like you do anything else on the form. Works great!
If you absolutely HAVE to do the text as a pop-up or something "off form", then there are ways to do it very similarly but takes a little more thought/work (ie. have your script read the text element's text and use that in your pop-up...again, since the text element is ON the form, you will get the correct translation.)
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The proper solution would be to use a standard text. in transaction SO10. then you would create language dependent versions of this text and change the locale of the form or read the right text in your backend coding as you need.
Otto
p.s.: learn about the tetx nodes in the context of the form or do it in your abap
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mate,
If i were you I would use a hidden variable for this purpose.
Since you need transaltion, just change the locale to this hidden field with script and wud do your work as required.
let me know if you need any more info..
Cheers,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.