This is a website using Django that can convert subtitle files between SRT, ASS, SSA, and VTT formats. On February 14, 2025, the translation function was updated to generate dual subtitles.
- Clone the repository:
git clone https://github.com/yourusername/subchange.git cd subchange
- Create and activate a virtual environment:
python -m venv env source env/bin/activate # For Windows: use `venv\Scripts\activate`
- Install dependencies:
pip install -r requirements.txt
- Run database migrations:
python manage.py migrate
- Start the development server:
python manage.py runserver
- Open
http://127.0.0.1:8000/converter/
in your browser to use the subtitle format converter.
该项目是一个基于 Django 的网站应用,可以在 SRT、ASS、SSA 和 VTT 格式之间转换字幕文件。2025年2月14日更新翻译功能,生成双字幕。
- 克隆项目仓库:
git clone https://github.com/yourusername/subchange.git cd subchange
- 创建并激活虚拟环境:
python -m venv env source env/bin/activate # 对于 Windows 系统,使用 `venv\Scripts\activate`
- 安装依赖:
pip install -r requirements.txt
- 运行数据库迁移:
python manage.py migrate
- 启动开发服务器:
python manage.py runserver
- 在浏览器中打开
http://127.0.0.1:8000/converter/
,开始使用字幕格式转换工具。
If you would like to contribute, please fork the repository and submit a pull request.
This project is licensed under the MIT License. For details, see the LICENSE file.