I am thinking of converting a C# application currently in English, to support multiple languages.
The application uses interpolated strings a lot - e.g. $"Short Name {header.ShortName} already exists". These strings will need to be translated into other languages.
I have been recommended to use .resx files to hold strings in different languages, but don't see how they would work with interpolated strings. Some of the strings have multiple variables in them to make a sentence, and languages with different word order (e.g. German) would probably need the variables in different places in the sentence.
Can anyone advise on how to deal with this? Is the only option to remove interpolated strings altogether, or write an alternative implementation that can get its basic template string from a resx?