Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Translating comments and region names in source code

Does anyone know of a batch processor or a VS 2010 plugin/script that would let me translate comments and region names from Chinese into English?

The only ones I've found either process all strings or only one string at a time.

I have two large C# projects that I am trying to read through.

Thanks.

like image 409
rboarman Avatar asked May 19 '11 19:05

rboarman


1 Answers

Use PrepTags to prepare your file for translation. It will allow you to select the text to be translated based on regex.

www.preptags.com

You can work file by file for free, or process the files as batch using the pro version (€39)

In your case, it's pretty simple to prepare. You just mark everything as protected, then unprotect the content of the comments & region names.

Disclosure: I develop PrepTags.

like image 97
Sylverdrag Avatar answered Nov 11 '22 04:11

Sylverdrag