{% extends "base.html" %} {% block title %}{{ translations.translate_tool if translations else 'Subtitle Translation Tool' }}{% endblock %} {% block content %}

{{ translations.translate_tool if translations else 'Subtitle Translation Tool' }}

{{ translations.translate_desc if translations else 'Translate subtitle files using AI models with customizable instructions.' }}

{{ translations.back_to_home if translations else 'Back to Home' }}
{% if error %}

{{ error }}

{% endif %}
{{ translations.no_file_chosen if translations else 'No file chosen' }}

{{ translations.paste_srt_desc if translations else 'Paste the content of your SRT file here' }}

{{ translations.instructions_file if translations else 'Select translation instructions (optional)' }}

{{ translations.no_file_chosen if translations else 'No file chosen' }}

{{ translations.chunk_size_desc if translations else 'Number of subtitle units per API request' }}

{{ translations.get('provider_desc', 'Select your LLM provider') if translations else 'Select your LLM provider' }}

{{ translations.api_base_url_desc if translations else 'API base URL (for self-hosted endpoints)' }}

{{ translations.model_id_desc if translations else 'Model identifier (e.g., gpt-4, claude-3-5-sonnet)' }}

{{ translations.api_key_desc if translations else 'API key for authentication (use dummy-key for local)' }}

{{ translations.output_file_path_desc if translations else 'If left blank, output filename will be derived from input filename (e.g., input_translated.srt)' }}

{{ translations.usage_examples if translations else 'Usage Examples' }}

{% endblock %}