Code Monkey home page Code Monkey logo

subtitle-translator's Introduction

subtitle translator

字幕翻译软件,翻译功能由谷歌翻译实现。

Translating a subtitle file to any one language, powered by Google Translate.

Project Home Page

UI

load a srt file

choose a traget language for translation, or it will be simplified-Chinese

translated

Releases

Releases

Source Code

V1.0.0 code

Softwares Used


eric6
Qt Designer


Dependent Python packages


pip install PyQt5 fbs requests pysrt  googletrans

Shortcuts

Ctrl+F : Find and open a subtitle file;

Ctrl+T: the current subtitle file will be translate to the selected language, if no language is selected simplified-Chinese by default .

Ctrl+S : save the translated subtitle file;

Ctrl+Alt+S : save as a bilingual subtitle file.

TODOs

  • 自动探测字幕文件原来使用的语种;
  • GUI程序;
  • 编译为 Windows 上的可安装包;
  • 可选择翻译为多个语种中的一种语言;
  • 翻译后的字幕文件的重命名方式;
  • 保存为新的字幕文件;
  • 保存为双语种字幕文件;
  • 支持 SubRip (.srt) 类型的字幕文件;
  • 多翻译引擎支持;
  • 压缩代码,优化依赖,减小安装包的尺寸;
  • 支持 SubStation Alpha (.ssa)类型的字幕文件;
  • 支持 WebVTT (.vtt)类型的字幕文件;
  • 支持 MicroDVD (.sub)类型的字幕文件;

subtitle-translator's People

Contributors

suifengtec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

subtitle-translator's Issues

Small tips

I would suggest these things:

  1. Support * .vtt file (I see already in the program)
  2. Addition of new languages (I would need Italian)
  3. Batch processing for the translation of many subtitle files, also coming from different folders and subfolders
  4. Adding a suffix to the example file name, filename.language.extension (filename.CN.vtt)

I hope to see this software soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.