I have to translate whole project to other language. I decided to do it by local resources files. The translation will be provided by outsource company in excel file.
The manual process of translation will be performed in this steps:
- Create local resource file for page
- For each text on page
- if text is not a label or don't contains Id => format text to be inside label and have id (because resource files can only work with asp.net controls)
- add annotation to label to use resource file
- create new item in resource file with translation to that label
It will be repeated for each page in project. As you probably noticed for big project this will be very boring process.
My first idea is to create Visual Studio Addin/Extension which will accept the excel file and perform whole translation
My second idea is to create power shell script which will do the work.
And third idea is to do it by VS macros. I don't know whether Macros can support loading files (for loading excel translation).
I wonder about your thoughts how to automate this translation process.