in my last DesignStudio customer training my participants were discussing about possibilities to internationalize a DesignStudio application. Here is a way that seems to be a good one even if it is still a workaround for a missing native functionality coming hopefully soon.
If you have used BEx Web Application Designer you know that there is a table in BW called RSBEXTEXTS with the following structure…
Create a generic datasource for that table in your BW system
Create a new characteristic having only the minimum elements key and language dependent text
Create a dataflow from your datasource to the text table with all needed elements using the following mapping. I don’t want to explain all the details which elements are involved, I think all BW people know that 🙂
In your Application create a new datasource directly on your new infoobject (step 2). No need for a query or something like that. Go to the “Initial View” editor so that your Initial View looks like that…
Add a dropdownbox to your application and make it not visible in the properties. This element will be used later on for getting the right text.
Fill the dropdownbox with the elements from your datasource e.g. in the Application OnStartup event with the code
DROPDOWN_1.SetItems(DS_1.getMemberList(<<name of your infoobject>>, MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, <<maxnumber of elements in your infoobject>>));
Now you can fill your TextBoxes with the language dependend texts assigned to your TextKeys you know from BexWAD with code like that:
DROPDOWN_1.SetSelectedValue(“<<id of your element>>”);
That’s all 🙂 Hope you like it.