Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi ,
Can I set a localization token string with placeholder ? like: "The data is empty for the device {0}" , {0} is the placeholder of the device name . Then I can call the service of RuntimeLocalizationFunctions to get the complete string value.
I didn't find where to set the placeholder and the resource entity RuntimeLocalizationFunctions seems doesn't has service to getting token with placeholder , either.
Do I have to implement the feature by myself ?
Regards,
Sean
Solved! Go to Solution.
There's not OOTB feature for that. But almost you don't need it, just to it in Javascript:
myLocalizedToken.replace("{0}",desiredValueString);
There's not OOTB feature for that. But almost you don't need it, just to it in Javascript:
myLocalizedToken.replace("{0}",desiredValueString);