diff --git a/app/config.py b/app/config.py index 7b957f4c..ab0bfd4c 100644 --- a/app/config.py +++ b/app/config.py @@ -223,25 +223,6 @@ class Settings(BaseSettings): ), ) - # --------------------------------------------------------------------------- - # Document Translation Settings - # --------------------------------------------------------------------------- - # Default target language for automatic document translation (ISO 639-1 code). - # After OCR / metadata extraction, if the detected document language differs - # from this value the system translates the extracted text into this language - # and stores it alongside the original. Other language translations are - # generated on the fly via the AI provider and are NOT persisted. - # Per-user overrides are stored in UserProfile.default_document_language. - default_document_language: str = Field( - default="en", - description=( - "ISO 639-1 language code for the default translation target " - "(e.g. 'en', 'de', 'fr'). Documents whose detected language " - "differs are automatically translated into this language after " - "processing. Default: 'en' (English)." - ), - ) - # Authentication settings auth_enabled: bool = True # Default to enabled admin_username: Optional[str] = None