Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. 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);