From 1f6a3a58037f24fc838b2d4471afa01c68f4178d Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 15 Mar 2026 10:23:33 +0000
Subject: [PATCH] feat(ui): localize imprint page
Add 25 imprint.* translation keys to en.json and update imprint.html
to use _() helpers for all user-visible strings. Static business data
(company name, address, contact details, VAT number) remain hardcoded
as proper nouns that must not be altered by translation.
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
---
frontend/templates/imprint.html | 42 ++++++++++++++++-----------------
frontend/translations/en.json | 25 ++++++++++++++++++++
2 files changed, 46 insertions(+), 21 deletions(-)
diff --git a/frontend/templates/imprint.html b/frontend/templates/imprint.html
index f0292279..a1938d5b 100644
--- a/frontend/templates/imprint.html
+++ b/frontend/templates/imprint.html
@@ -1,13 +1,13 @@
{% extends "base.html" %}
-{% block title %}Imprint - DocuElevate{% endblock %}
+{% block title %}{{ _("imprint.page_title") }}{% endblock %}
{% block content %}
-
Imprint
-
Information according to § 5 TMG (German Telemedia Act)
+
{{ _("imprint.heading") }}
+
{{ _("imprint.subtitle") }}
-
Service Provider
+
{{ _("imprint.provider_heading") }}
Christian Louis IT Beratung
Alter Steinweg 3
@@ -17,7 +17,7 @@
-
Contact Information
+
{{ _("imprint.contact_heading") }}
Fax: +49 40 97074609
Email: christianlouis@gmail.com
@@ -26,16 +26,16 @@
-
Business Registration
+
{{ _("imprint.business_registration_heading") }}
- VAT Identification Number according to §27a Value Added Tax Act: DE202899017
+ {{ _("imprint.business_registration_vat") }} DE202899017
-
Responsible for Content
+
{{ _("imprint.responsible_content_heading") }}
- According to § 55 Abs. 2 RStV:
+ {{ _("imprint.responsible_content_rstv") }}
Christian Krakau-Louis
Alter Steinweg 3
20459 Hamburg
@@ -44,36 +44,36 @@
-
Legal Notices
+
{{ _("imprint.legal_heading") }}
- Despite careful content control, we assume no liability for the content of external links. The operators of the linked pages are solely responsible for their content.
+ {{ _("imprint.legal_liability") }}
- All content on this website is protected by copyright. Any use outside the limits of copyright law requires the written consent of the respective author or creator.
+ {{ _("imprint.legal_copyright") }}
-
Online Dispute Resolution
+
{{ _("imprint.dispute_heading") }}
- The European Commission provides a platform for online dispute resolution (OS):
+ {{ _("imprint.dispute_p1") }}
https://ec.europa.eu/consumers/odr/
- We are not willing or obligated to participate in dispute resolution proceedings before a consumer arbitration board.
+ {{ _("imprint.dispute_p2") }}
diff --git a/frontend/translations/en.json b/frontend/translations/en.json
index 5abbc415..f0d87e97 100644
--- a/frontend/translations/en.json
+++ b/frontend/translations/en.json
@@ -517,6 +517,31 @@
"help.workflows_step_5_create": "Save – new documents will be processed through this pipeline automatically.",
"help.workflows_typical_steps": "Typical Steps",
"help.workflows_what_is": "What is a Pipeline?",
+ "imprint.business_registration_heading": "Business Registration",
+ "imprint.business_registration_vat": "VAT Identification Number according to §27a Value Added Tax Act:",
+ "imprint.contact_heading": "Contact Information",
+ "imprint.dispute_heading": "Online Dispute Resolution",
+ "imprint.dispute_p1": "The European Commission provides a platform for online dispute resolution (OS):",
+ "imprint.dispute_p2": "We are not willing or obligated to participate in dispute resolution proceedings before a consumer arbitration board.",
+ "imprint.heading": "Imprint",
+ "imprint.legal_copyright": "All content on this website is protected by copyright. Any use outside the limits of copyright law requires the written consent of the respective author or creator.",
+ "imprint.legal_heading": "Legal Notices",
+ "imprint.legal_liability": "Despite careful content control, we assume no liability for the content of external links. The operators of the linked pages are solely responsible for their content.",
+ "imprint.page_title": "Imprint - DocuElevate",
+ "imprint.policies_cookie_desc": "Information about cookies we use",
+ "imprint.policies_cookie_label": "Cookie Policy",
+ "imprint.policies_heading": "Related Policies",
+ "imprint.policies_intro": "Our service is governed by the following policies:",
+ "imprint.policies_license_desc": "How our software is licensed",
+ "imprint.policies_license_label": "License Information",
+ "imprint.policies_privacy_desc": "How we handle your data",
+ "imprint.policies_privacy_label": "Privacy Policy",
+ "imprint.policies_terms_desc": "Rules for using DocuElevate",
+ "imprint.policies_terms_label": "Terms of Service",
+ "imprint.provider_heading": "Service Provider",
+ "imprint.responsible_content_heading": "Responsible for Content",
+ "imprint.responsible_content_rstv": "According to § 55 Abs. 2 RStV:",
+ "imprint.subtitle": "Information according to § 5 TMG (German Telemedia Act)",
"index.badge_intelligent": "Intelligent Document Processing",
"index.button_browse_files": "Browse Files",
"index.button_upload": "Upload",