Getting Localizable Resource to Trigger for MsgBox in VB
I've noticed that although the check for localizable resources triggers for many thing, it does not, apparently, trigger for strings fed to MsgBox, e.g.:
MsgBox("This is a long error message that should probably be localized.", vbCritical + vbOKOnly, Application.ProductName)
From the flow chart on this check, it would seem that it ought to trigger in this case. Why doesn't it? Is it a VB.Net integration issue?
Related question: Is there a way to force the shortcut to localize? It would be a handy workaround if so.
Please sign in to leave a comment.
thank you for the report.
I've created an issue in YouTrack: https://youtrack.jetbrains.com/issue/RSRP-498933/Move-to-resource-doesnt-work-for-MsgBox-in-VB
You are welcome to comment on it and follow up to receive the updates.
Thank you!