on 06-17-2009 6:54 AM
Hi Gurus,
I want to internationalize the label of the Input field.
I have done following steps for that.
1) from the top menu goto->online text repository browser->create->
provide the i/p for Alias Name: NAME
Length:15
in the text field below of the above two i/p fields I have entered: NAMEE
2)I have clicked the 'context' button and selected country 'DE' and in the text field below entered NAMEG.
3)saved it
4)from the property 'text' of my label UI Element I have opened the OTR browser and selected the above created otr field.
5)Activated my webdynpro component.
when I run my application browser opened with sap-language as 'EN' and the label was shown as NAMEE.
I have changed the sap-language as 'DE' and refreshed the URL but this time it is not showing 'NAMEG' for the label, instead it is showing NAMEE.
error messages from assistance class are changed according to the language.
can any one throw a light on this.
Thanks in advance.
Hi Kiran,
it is very simple to do:
You said you already have Alias Name as "NAME"
that is pefect....take this Alias Name....go to transaction SOTR_EDIT
on the screen which shows up, you have following
Language: Pick English here
Text: *
Alias: NAME
Concept: leave it blank
click on display.
Now on this screen go to the "EDIT" menu -top of the screen-where you also see system and help menu. Follow the following path:
Edit->Context->Change
As soon as you will click on Change....you will see a pop up coming up with following fields:
Country:
Industry:
close this pop up box without filling out anything there....just click on red x and close this pop up box.
After you close the pop up box you will find that the "Language" field is open for editing....
In this field choose the language you want your Alias to be translated into: in your case German..
In the text field...type in your German text....
Save your work...
That is all...no need to do anything else.....
you can check if your Alias is being translated...
go back to transaction SOTR_EDIT...and than choose German for language and put in the Alias: NAME
you should see your text in German...
I hope this helps...
Thanks...
AS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Correct way for intrernationalization is as follows:
- Create a OTR test in a particular language.
- Assign the OTR test to the UI element.
- Go to se63, translate the respective OTR text in whichever language you want to translate.
- Log out of the SAP system and then login again, in a different language in which you have translated the text.
- You will see the chnaged text in the application.
cheers!
Ashish.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
Thanks for the response.
I have created OTR text with the below procedure:
entered into T-CODE = SOTR_EDIT.
filled the following entries
a) checked the check box of SHORT TEXT.
b) language = English
c) textalis = NAMEE1806
d) alias = NAMEE1806ALIAS
clicked the button 'CREATE'
in the next page entered following things
package = $TMP
object type = WDYV
and saved it.
Then in T-CODE = SE63,
Translation->abap objects->short texts->OT OTR->S OTR OTR SHORT TEXTS
filled the following entries
object name = NAMEE1806ALIAS
translation area = 999999
source language = enUS
target language = deDE
and clicked the button 'EDIT'.
the error I am getting is 'OBJECT DOES NOT EXIST'
How can I solve the above issue.
Thanks,
Kiran
Hello Kiran,
Object Id is concatenation of Development class (30 char ) where OTR is created and the Concept.
Suppose dev class is ZABC and letu2019s say concept is 49AA941CE81A2AEDE100000098099128.
Then object id should be ZABC 26 blank space49AA941CE81A2AEDE100000098099128
Regards,
Hema
Edited by: Hemalata Borate on Jun 18, 2009 1:03 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.