I have .resx files where I keep strings in English and Portuguese, in my database I have the following table:
AndIwanttochangethedescriptionoftheplansequaltothefirstrecordinthistable:
WiththisIcangetthisstring"plano_1" directly from my resource, thus transforming it into English and Portuguese.
But since the resource only lets me get the static methods with the strings inside, I can not solve this problem.
I would rather do this: string plano1 = Messages.plano_1;
use the string I'm going to pull from the database something like string plano1 = Messages("plano_1")
.