Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
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