Page 1 of 1

Localized text with neutral locale id

Posted: 28 Sep 2021, 14:41
by baldo
Good afternoon,

how can I create a LocalizedText providing a neutral culture instead of a specific one? i.e. "en" vs "en-US"

Code: Select all

var msg = new LocalizedText("IDS_MSG", "en", "This is a message in english.")

Re: Localized text with neutral locale id

Posted: 29 Sep 2021, 17:33
by baldo
Looks like that constructor has a bug, while the one with two parameters perfectly works. I just reported it.
If you don't need the ID you are fine, otherwise I guess you need to wait for a fix.