A tool to translate comments in the source code.
$ make clean $ make
$ bin/translate file1 [file2 file3 ...]
After the execution of the program, the comments in file1[, file2, file3, ...] would have all been translated.
- Internally, this uses command line translator. The script must be present in the bin/ directory and must have execute permissions. If not, download it from here and grant the permission. Also,
gawkis required for the functioning of this script. To install, please runsudo apt-get install gawk - If you wish to translate the comments to a language other than English, modify the variable
command_part1inconfig.hwith parameters as specified in this README. - By default, this tool is set up to translate C/C++ programs. Modify the parameters in
config.hif you wish to translate codes which use a different syntax to identify the comments. - Recompile the code if any changes to
config.his made.