How can I get a single service to convert all the labels to desired language?
Jul 09, 2019
04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 09, 2019
04:50 AM
How can I get a single service to convert all the labels to desired language?
Hi,
I have a label in the mashup and I also have a drop down in the same mashup from where I can select the languages I want to label to be converted to. Eg. - If i selected 'de' in the dropdown the label should be changed to German language. Now for this I created a service which will take language(lang) as input and the result is the converted label :
var params = {
language: lang /* STRING */,
token: 'Test_GoodMorning' /* STRING */
};
// result: STRING
var result = Resources["RuntimeLocalizationFunctions"].GetEffectiveTokenForLanguage(params);
This service works for one label. But I have 11 labels in the same screen. How can I write one service to convert all the labels?
@Charles Can you help with this?
Thanks in advance
Labels:
- Labels:
-
Mashup-Widget
-
TWX Dev Portal
1 REPLY 1
Jul 09, 2019
05:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 09, 2019
05:23 AM
