Translate Subtitles

  • using Google Translate, translate the file or text, 5K characters at a time OR if your text is >5K chars, publish it on a blog (eg. wordpress) and use the Google Web Page Translation to translate it all in one go: http://itools.com/tool/google-translate-web-page-translator
  • Collate the translated subs into single srt file
  • Fix timestamp issues due to translation:
    • Remove space after colon in timestamps by this regx by replacing  :( ) with :
    • Replace -> with –>
  • Finally test the subs file with the video

Redirect links using Tampermonkey

// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https:///
// @grant none
// ==/UserScript==

(function() {
‘use strict’;
alert(‘initial :’ + window.location.href);
if(!window.location.href.indexOf(‘test.eu’)){
console.log(‘before replacing’);
window.location.replace(window.location.href.replace(“eu”, “is”));
console.log(‘after replacing’);
}
// Your code here…
})();