on 2016 Dec 27 9:37 PM
SAP Design Studio has a nice feature to define buttons inside of the footer of a 'Dialog' component:
The 'Dialog' component is one of the standard 'Container Components'.
My question is if there is a way to localize the text of these buttons, i.e. apply strings defined inside of a TEXT_POOL to these buttons? I see we can define the button text in the 'Add/Edit Dialog Footer Buttons' popup (see the screenshot), but I do not see a way to reference these buttons and to set their text in a script.
I would think that the 'Button Key' value would allow me to reference the button inside of a script function, but the editor does not recognize a component whose name is the button-key.
I am using SAP Design Studio 1.6 SP02 Patch 2.
Any insight or assistance would be greatly appreciated.
Regards,
- Knoa Support
Hi Knoa,
The Dialog component does not have a script method to dynamically allow you to change the text of the buttons. However, if you simply wish to provide localized static text for the buttons, you do not need to specify strings in a TEXT_POOL component. If you use the Translation Management Tool, I expect you should be able to see the Dialog button texts as part of the application texts, where you can specify the translations for the required languages.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.