Make SubFox production-ready with parallel translation and UI controls

This commit is contained in:
Eddie Nielsen 2026-03-25 11:24:54 +00:00
parent c40b8bed2b
commit 2b1d05f02c
6046 changed files with 798327 additions and 0 deletions

13
app/translators/base.py Normal file
View file

@ -0,0 +1,13 @@
from abc import ABC, abstractmethod
from typing import List
class BaseTranslator(ABC):
@abstractmethod
def translate_blocks(
self,
texts: List[str],
source_lang: str = "auto",
target_lang: str = "da",
) -> List[str]:
pass