This may be a basic issue, but I did not find a way to implement.
In my C# source files I have several text messages.
I know from other compilers that such texts can (and should) be moved out of the source and be saved in a text file, where they can be edited.
The C# Localization property option enables to change control names by local language, but I don't know how I can do it for text messages.
I would best like to have a command that will automatically or manually move out all embedded text to an indexed text file.
How can that be done??
Thanks
Loading
Sam HobbsPosted Dec 8, 2011, 10:53 AM
SamPosted Dec 9, 2011, 5:26 AM
In our old c programs we used to use our own placeholders for all texts that were saved in a separate text file (and an automatic index file).
One could write the text in the source, and while compiling it was automatically indexed and moved out to the text file, which was superb.
The text file was automatically loaded at runtime and texts placed where they should. We could then easily change texts without recompiling, which enabled (if required) to easily modify or translate any text to any language by anyone (One problem though: We could not increase the size).
Note it was before MS-Windows had the local / languages features.
It was just natural to expect that visual studio will have such an easy tool.
I'll use the Localization, if this is what MS is forcing me doing.... Thanks.