I am working on a project where it is required to copy a particular website using HTTrack (2 levels - Main Page and 1 link deep web pages only). In the copied website, I need to translate all texts into Hindi. It is recommended to hardcode the translated text onto index.html file, but not mandatory (just bonus points). There are a total of 120 pages and changing each of them one by one is extremely inefficient since I was given a timeline of 5 days.
Since the text I have to translate are in 'white' color in VSCODE, I was wondering whether it is possible to copy all the text that are white together so that I can translate and replace back the text. Looking for some suggestions on this.
So far I have manually copied the texts and pasted into google translate then copied the translated text back to VSCode. In 6 hours I have only managed to translate 2 pages. Will be grateful for any suggestions.
icon button and select the page to be translated to Hindi. If you're concerned about privacy and security with respect to the contents being translated, see this: