const translations = {
en: {
page_title: "Markdown ⇄ HTML Converter",
hero_title: "Markdown ⇄ HTML Converter",
hero_subtitle: "Convert between Markdown and HTML instantly. Live preview, history tracking, and full privacy — everything runs on your server.",
mode_md2html: "Markdown → HTML",
mode_html2md: "HTML → Markdown",
input_label_md: "Markdown Input",
input_label_html: "HTML Input",
output_label_html: "HTML Output",
output_label_md: "Markdown Output",
btn_convert: "Convert",
btn_copy: "Copy",
btn_copy_input: "Copy Input",
btn_copy_output: "Copy Output",
btn_save: "Save",
btn_swap: "Swap",
btn_clear: "Clear",
btn_sample: "Sample",
btn_paste: "Paste",
btn_preview: "Preview",
btn_raw: "Raw",
placeholder_md: "Type or paste your Markdown here…",
placeholder_html: "Type or paste your HTML here…",
toast_convert_ok: "Conversion successful!",
toast_copy_ok: "Copied to clipboard!",
toast_save_ok: "Saved to history!",
toast_delete_ok: "Entry deleted.",
toast_cleared: "Cleared all content.",
toast_no_input: "Please enter some content first.",
toast_no_output: "No output to copy.",
toast_swap_ok: "Swapped! Mode switched automatically.",
toast_paste_fail: "Cannot access clipboard. Please paste manually.",
toast_paste_ok: "Pasted from clipboard.",
toast_sample_ok: "Sample content loaded!",
empty_state: "Enter content on the left and click Convert, or press Ctrl+Enter",
stat_chars: "chars",
stat_words: "words",
stat_lines: "lines",
stat_output: "Output",
history_title: "Conversion History",
history_empty: "No conversion history yet. Save a conversion to see it here.",
history_badge_md2html: "MD→HTML",
history_badge_html2md: "HTML→MD",
footer_tagline: "Free utilities for everyone.
Built with PHP, vanilla JS, CSS & ❤️",
footer_tools: "Tools",
footer_all_tools: "All Tools",
footer_recent: "Recently Added",
footer_popular: "Most Used",
footer_legal: "Legal",
footer_privacy: "Privacy",
footer_terms: "Terms",
footer_cookie: "Cookie Policy",
footer_impressum: "Legal Notice",
footer_copyright: "© 2025 ToolHub. All rights reserved.",
footer_made: "Made with care in Romania 🇷🇴",
sticky_btn_text: "Keep it Free"
},
de: {
page_title: "Markdown ⇄ HTML Konverter",
hero_title: "Markdown ⇄ HTML Konverter",
hero_subtitle: "Sofort zwischen Markdown und HTML konvertieren. Live-Vorschau, Verlauf und volle Privatsphäre — alles läuft auf deinem Server.",
mode_md2html: "Markdown → HTML",
mode_html2md: "HTML → Markdown",
input_label_md: "Markdown-Eingabe",
input_label_html: "HTML-Eingabe",
output_label_html: "HTML-Ausgabe",
output_label_md: "Markdown-Ausgabe",
btn_convert: "Konvertieren",
btn_copy: "Kopieren",
btn_copy_input: "Eingabe kopieren",
btn_copy_output: "Ausgabe kopieren",
btn_save: "Speichern",
btn_swap: "Tauschen",
btn_clear: "Löschen",
btn_sample: "Beispiel",
btn_paste: "Einfügen",
btn_preview: "Vorschau",
btn_raw: "Rohdaten",
placeholder_md: "Markdown hier eingeben oder einfügen…",
placeholder_html: "HTML hier eingeben oder einfügen…",
toast_convert_ok: "Konvertierung erfolgreich!",
toast_copy_ok: "In die Zwischenablage kopiert!",
toast_save_ok: "Im Verlauf gespeichert!",
toast_delete_ok: "Eintrag gelöscht.",
toast_cleared: "Inhalt gelöscht.",
toast_no_input: "Bitte gib zuerst etwas ein.",
toast_no_output: "Keine Ausgabe zum Kopieren.",
toast_swap_ok: "Getauscht! Modus automatisch gewechselt.",
toast_paste_fail: "Kein Zugriff auf Zwischenablage. Bitte manuell einfügen.",
toast_paste_ok: "Aus Zwischenablage eingefügt.",
toast_sample_ok: "Beispielinhalt geladen!",
empty_state: "Inhalt links eingeben und auf Konvertieren klicken, oder Strg+Enter drücken",
stat_chars: "Zeichen",
stat_words: "Wörter",
stat_lines: "Zeilen",
stat_output: "Ausgabe",
history_title: "Konvertierungsverlauf",
history_empty: "Noch kein Verlauf. Speichere eine Konvertierung, um sie hier zu sehen.",
history_badge_md2html: "MD→HTML",
history_badge_html2md: "HTML→MD",
footer_tagline: "Kostenlose Hilfsprogramme für alle.
Entwickelt mit PHP, vanilla JS, CSS & ❤️",
footer_tools: "Tools",
footer_all_tools: "Alle Tools",
footer_recent: "Kürzlich hinzugefügt",
footer_popular: "Am häufigsten genutzt",
footer_legal: "Rechtliches",
footer_privacy: "Datenschutz",
footer_terms: "Bedingungen",
footer_cookie: "Cookie-Richtlinie",
footer_impressum: "Impressum",
footer_copyright: "© 2025 ToolHub. Alle Rechte vorbehalten.",
footer_made: "Mit Sorgfalt in Rumänien entwickelt 🇷🇴",
sticky_btn_text: "Projekt unterstützen"
},
ro: {
page_title: "Convertor Markdown ⇄ HTML",
hero_title: "Convertor Markdown ⇄ HTML",
hero_subtitle: "Convertește instantaneu între Markdown și HTML. Previzualizare live, istoric și confidențialitate completă — totul rulează pe serverul tău.",
mode_md2html: "Markdown → HTML",
mode_html2md: "HTML → Markdown",
input_label_md: "Intrare Markdown",
input_label_html: "Intrare HTML",
output_label_html: "Ieșire HTML",
output_label_md: "Ieșire Markdown",
btn_convert: "Convertește",
btn_copy: "Copiază",
btn_copy_input: "Copiază intrarea",
btn_copy_output: "Copiază ieșirea",
btn_save: "Salvează",
btn_swap: "Inversează",
btn_clear: "Șterge",
btn_sample: "Exemplu",
btn_paste: "Lipește",
btn_preview: "Previzualizare",
btn_raw: "Brut",
placeholder_md: "Scrie sau lipește Markdown aici…",
placeholder_html: "Scrie sau lipește HTML aici…",
toast_convert_ok: "Conversie reușită!",
toast_copy_ok: "Copiat în clipboard!",
toast_save_ok: "Salvat în istoric!",
toast_delete_ok: "Intrare ștearsă.",
toast_cleared: "Conținut șters.",
toast_no_input: "Te rog introdu mai întâi ceva.",
toast_no_output: "Nicio ieșire de copiat.",
toast_swap_ok: "Inversat! Mod schimbat automat.",
toast_paste_fail: "Nu se poate accesa clipboard-ul. Te rog lipește manual.",
toast_paste_ok: "Lipit din clipboard.",
toast_sample_ok: "Conținut exemplu încărcat!",
empty_state: "Introdu conținut în stânga și apasă Convertește, sau Ctrl+Enter",
stat_chars: "caractere",
stat_words: "cuvinte",
stat_lines: "linii",
stat_output: "Ieșire",
history_title: "Istoric Conversii",
history_empty: "Niciun istoric încă. Salvează o conversie pentru a o vedea aici.",
history_badge_md2html: "MD→HTML",
history_badge_html2md: "HTML→MD",
footer_tagline: "Utilitare gratuite pentru toți.
Construit cu PHP, vanilla JS, CSS & ❤️",
footer_tools: "Unelte",
footer_all_tools: "Toate Uneltele",
footer_recent: "Adăugate Recent",
footer_popular: "Cele Mai Folosite",
footer_legal: "Legal",
footer_privacy: "Confidențialitate",
footer_terms: "Termeni",
footer_cookie: "Politica de Cookie-uri",
footer_impressum: "Notă legală",
footer_copyright: "© 2025 ToolHub. Toate drepturile rezervate.",
footer_made: "Realizat cu grijă în România 🇷🇴",
sticky_btn_text: "Menține Gratuit"
}
};