Something like this should work.
Method to convert:
StringToMessage<localizes>(value:string) : message = "{value}"
Set text on widget:
WidgetTitle.SetText(StringToMessage(TextTitle))
Something like this should work.
Method to convert:
StringToMessage<localizes>(value:string) : message = "{value}"
Set text on widget:
WidgetTitle.SetText(StringToMessage(TextTitle))