Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

feat: add ru source language support

沈浩54b6ec4b7d99
diff --git a/internal/service/audio2subtitle.go b/internal/service/audio2subtitle.go
index 14bcee7b..40ef411f 100644
--- a/internal/service/audio2subtitle.go
+++ b/internal/service/audio2subtitle.go
@@ -356,7 +356,7 @@ func getSentenceTimestamps(words []types.Word, sentence string, lastTs float64,
var srtSt types.SrtSentence
var sentenceWordList []string
sentenceWords := make([]types.Word, 0)
- if language == types.LanguageNameEnglish || language == types.LanguageNameGerman || language == types.LanguageNameTurkish { // 处理方式不同
+ if language == types.LanguageNameEnglish || language == types.LanguageNameGerman || language == types.LanguageNameTurkish || language == types.LanguageNameRussian { // 处理方式不同
sentenceWordList = util.SplitSentence(sentence)
if len(sentenceWordList) == 0 {
return srtSt, sentenceWords, 0, fmt.Errorf("getSentenceTimestamps sentence is empty")
diff --git a/static/index.html b/static/index.html
index d1aa09dc..a44df6b3 100644
--- a/static/index.html
+++ b/static/index.html
@@ -332,6 +332,7 @@
<option value="tr">土耳其语</option>
<option value="de">德语</option>
<option value="ko">韩语</option>
+ <option value="ru">俄语</option>
</select>
</div>