feat: Simple Mode language routing and translation improvements

## Simple Mode Enhancements
- Add `simple-index.html` as dedicated homepage for Simple Mode
- Hide marketing sections (FAQ, How It Works, Related Tools) on tool pages
- Add simplified navbar and footer for tool pages in Simple Mode
- Configure vite preview server to handle language-prefixed URLs

## Language Routing
- Add middleware to rewrite language-prefixed URLs (e.g., /de/merge-pdf.html)
- Support all languages: en, de, es, fr, id, it, pt, tr, vi, zh, zh-TW
- Create .htaccess with internal rewrites for Apache/Hostinger hosting

## Translation Updates
- Add missing translations for digitalSignPdf, validateSignaturePdf,
  emailToPdf, fontToOutline, deskewPdf to es, pt, tr, zh-TW
- Add Digital Signature and Validate Signature to homepage translation keys
- Fix language regex patterns to include all supported languages
- Fix typo in encrypt-pdf.html
This commit is contained in:
alam00000
2026-01-14 02:31:44 +05:30
parent 59584813e4
commit 90346d7ea9
11 changed files with 1884 additions and 637 deletions

View File

@@ -292,5 +292,220 @@
"deskewPdf": {
"name": "PDF Eğriliğini Düzelt",
"subtitle": "OpenCV kullanarak eğik taranmış sayfaları otomatik olarak düzeltin."
},
"rotateCustom": {
"name": "Rotate by Custom Degrees",
"subtitle": "Rotate pages by any custom angle."
},
"odtToPdf": {
"name": "ODT to PDF",
"subtitle": "Convert OpenDocument Text files to PDF format. Supports multiple files.",
"acceptedFormats": "ODT files",
"convertButton": "Convert to PDF"
},
"csvToPdf": {
"name": "CSV to PDF",
"subtitle": "Convert CSV spreadsheet files to PDF format. Supports multiple files.",
"acceptedFormats": "CSV files",
"convertButton": "Convert to PDF"
},
"rtfToPdf": {
"name": "RTF to PDF",
"subtitle": "Convert Rich Text Format documents to PDF. Supports multiple files.",
"acceptedFormats": "RTF files",
"convertButton": "Convert to PDF"
},
"wordToPdf": {
"name": "Word to PDF",
"subtitle": "Convert Word documents (DOCX, DOC, ODT, RTF) to PDF format. Supports multiple files.",
"acceptedFormats": "DOCX, DOC, ODT, RTF files",
"convertButton": "Convert to PDF"
},
"excelToPdf": {
"name": "Excel to PDF",
"subtitle": "Convert Excel spreadsheets (XLSX, XLS, ODS, CSV) to PDF format. Supports multiple files.",
"acceptedFormats": "XLSX, XLS, ODS, CSV files",
"convertButton": "Convert to PDF"
},
"powerpointToPdf": {
"name": "PowerPoint to PDF",
"subtitle": "Convert PowerPoint presentations (PPTX, PPT, ODP) to PDF format. Supports multiple files.",
"acceptedFormats": "PPTX, PPT, ODP files",
"convertButton": "Convert to PDF"
},
"markdownToPdf": {
"name": "Markdown to PDF",
"subtitle": "Write or paste Markdown and export it as a beautifully formatted PDF.",
"paneMarkdown": "Markdown",
"panePreview": "Preview",
"btnUpload": "Upload",
"btnSyncScroll": "Sync Scroll",
"btnSettings": "Settings",
"btnExportPdf": "Export PDF",
"settingsTitle": "Markdown Settings",
"settingsPreset": "Preset",
"presetDefault": "Default (GFM-like)",
"presetCommonmark": "CommonMark (strict)",
"presetZero": "Minimal (no features)",
"settingsOptions": "Markdown Options",
"optAllowHtml": "Allow HTML tags",
"optBreaks": "Convert newlines to <br>",
"optLinkify": "Auto-convert URLs to links",
"optTypographer": "Typographer (smart quotes, etc.)"
},
"pdfBooklet": {
"name": "PDF Booklet",
"subtitle": "Rearrange pages for double-sided booklet printing. Fold and staple to create a booklet.",
"howItWorks": "How it works:",
"step1": "Upload a PDF file.",
"step2": "Pages will be rearranged in booklet order.",
"step3": "Print double-sided, flip on short edge, fold and staple.",
"paperSize": "Paper Size",
"orientation": "Orientation",
"portrait": "Portrait",
"landscape": "Landscape",
"pagesPerSheet": "Pages per Sheet",
"createBooklet": "Create Booklet",
"processing": "Processing...",
"pageCount": "Page count will be padded to multiple of 4 if needed."
},
"xpsToPdf": {
"name": "XPS to PDF",
"subtitle": "Convert XPS/OXPS documents to PDF format. Supports multiple files.",
"acceptedFormats": "XPS, OXPS files",
"convertButton": "Convert to PDF"
},
"mobiToPdf": {
"name": "MOBI to PDF",
"subtitle": "Convert MOBI e-books to PDF format. Supports multiple files.",
"acceptedFormats": "MOBI files",
"convertButton": "Convert to PDF"
},
"epubToPdf": {
"name": "EPUB to PDF",
"subtitle": "Convert EPUB e-books to PDF format. Supports multiple files.",
"acceptedFormats": "EPUB files",
"convertButton": "Convert to PDF"
},
"fb2ToPdf": {
"name": "FB2 to PDF",
"subtitle": "Convert FictionBook (FB2) e-books to PDF format. Supports multiple files.",
"acceptedFormats": "FB2 files",
"convertButton": "Convert to PDF"
},
"cbzToPdf": {
"name": "CBZ to PDF",
"subtitle": "Convert comic book archives (CBZ/CBR) to PDF format. Supports multiple files.",
"acceptedFormats": "CBZ, CBR files",
"convertButton": "Convert to PDF"
},
"wpdToPdf": {
"name": "WPD to PDF",
"subtitle": "Convert WordPerfect documents (WPD) to PDF format. Supports multiple files.",
"acceptedFormats": "WPD files",
"convertButton": "Convert to PDF"
},
"wpsToPdf": {
"name": "WPS to PDF",
"subtitle": "Convert WPS Office documents to PDF format. Supports multiple files.",
"acceptedFormats": "WPS files",
"convertButton": "Convert to PDF"
},
"xmlToPdf": {
"name": "XML to PDF",
"subtitle": "Convert XML documents to PDF format. Supports multiple files.",
"acceptedFormats": "XML files",
"convertButton": "Convert to PDF"
},
"pagesToPdf": {
"name": "Pages to PDF",
"subtitle": "Convert Apple Pages documents to PDF format. Supports multiple files.",
"acceptedFormats": "Pages files",
"convertButton": "Convert to PDF"
},
"odgToPdf": {
"name": "ODG to PDF",
"subtitle": "Convert OpenDocument Graphics (ODG) files to PDF format. Supports multiple files.",
"acceptedFormats": "ODG files",
"convertButton": "Convert to PDF"
},
"odsToPdf": {
"name": "ODS to PDF",
"subtitle": "Convert OpenDocument Spreadsheet (ODS) files to PDF format. Supports multiple files.",
"acceptedFormats": "ODS files",
"convertButton": "Convert to PDF"
},
"odpToPdf": {
"name": "ODP to PDF",
"subtitle": "Convert OpenDocument Presentation (ODP) files to PDF format. Supports multiple files.",
"acceptedFormats": "ODP files",
"convertButton": "Convert to PDF"
},
"pubToPdf": {
"name": "PUB to PDF",
"subtitle": "Convert Microsoft Publisher (PUB) files to PDF format. Supports multiple files.",
"acceptedFormats": "PUB files",
"convertButton": "Convert to PDF"
},
"vsdToPdf": {
"name": "VSD to PDF",
"subtitle": "Convert Microsoft Visio (VSD, VSDX) files to PDF format. Supports multiple files.",
"acceptedFormats": "VSD, VSDX files",
"convertButton": "Convert to PDF"
},
"psdToPdf": {
"name": "PSD to PDF",
"subtitle": "Convert Adobe Photoshop (PSD) files to PDF format. Supports multiple files.",
"acceptedFormats": "PSD files",
"convertButton": "Convert to PDF"
},
"pdfToSvg": {
"name": "PDF to SVG",
"subtitle": "Convert each page of a PDF file into a scalable vector graphic (SVG) for perfect quality at any size."
},
"extractTables": {
"name": "Extract PDF Tables",
"subtitle": "Extract tables from PDF files and export as CSV, JSON, or Markdown."
},
"pdfToCsv": {
"name": "PDF to CSV",
"subtitle": "Extract tables from PDF and convert to CSV format."
},
"pdfToExcel": {
"name": "PDF to Excel",
"subtitle": "Extract tables from PDF and convert to Excel (XLSX) format."
},
"pdfToText": {
"name": "PDF to Text",
"subtitle": "Extract text from PDF files and save as plain text (.txt). Supports multiple files.",
"note": "This tool works ONLY with digitally created PDFs. For scanned documents or image-based PDFs, use our OCR PDF tool instead.",
"convertButton": "Extract Text"
},
"digitalSignPdf": {
"name": "Digital Signature PDF",
"pageTitle": "Digital Signature PDF - Add Cryptographic Signature | BentoPDF",
"subtitle": "Add a cryptographic digital signature to your PDF using X.509 certificates. Supports PKCS#12 (.pfx, .p12) and PEM formats. Your private key never leaves your browser.",
"certificateSection": "Certificate",
"uploadCert": "Upload certificate (.pfx, .p12)",
"certPassword": "Certificate Password",
"certPasswordPlaceholder": "Enter certificate password",
"certInfo": "Certificate Information",
"certSubject": "Subject",
"certIssuer": "Issuer",
"certValidity": "Valid",
"signatureDetails": "Signature Details (Optional)",
"reason": "Reason",
"reasonPlaceholder": "e.g., I approve this document",
"location": "Location",
"locationPlaceholder": "e.g., New York, USA",
"contactInfo": "Contact Info",
"contactPlaceholder": "e.g., email@example.com",
"applySignature": "Apply Digital Signature",
"successMessage": "PDF signed successfully! The signature can be verified in any PDF reader."
},
"validateSignaturePdf": {
"name": "Validate PDF Signature",
"pageTitle": "Validate PDF Signature - Verify Digital Signatures | BentoPDF",
"subtitle": "Verify digital signatures in your PDF files. Check certificate validity, view signer details, and confirm document integrity. All processing happens in your browser."
}
}