Hi,
I am using "resourcestring" for translate units. This works fine, but I have some const arrays which uses translated strings from resourcestring:
resourcestring
rsString1 = 'String1';
rsString2 = 'String2';
rsString3 = 'String3';
const
GROUP: array[0...2] of string = (rsString1, rsString2, rsString3);
Now, when user change language, strings in resourcestring section are translated but const GROUP still have "old" values. I know that I can resign from array or reinit values manually but I am wondering if I can reinit this automaticaly somehow. I supose that consts values are generated on compiling.
Regards.