diff --git a/README.md b/README.md index f90ffe0..7e6c04c 100644 --- a/README.md +++ b/README.md @@ -441,7 +441,7 @@ def contains(x: list, y: int) -> bool: #### Translating -Whoogle currently supports translations using [`translations.json`](https://github.com/benbusby/whoogle-search/blob/main/app/static/settings/languages.json). Language values in this file need to match the "value" of the according language in [`languages.json`](https://github.com/benbusby/whoogle-search/blob/main/app/static/settings/languages.json) (i.e. "lang_en" for English, "lang_es" for Spanish, etc). After you add a new set of translations to `translations.json`, open a PR with your changes and they will be merged in as soon as possible. +Whoogle currently supports translations using [`translations.json`](https://github.com/benbusby/whoogle-search/blob/main/app/static/settings/translations.json). Language values in this file need to match the "value" of the according language in [`languages.json`](https://github.com/benbusby/whoogle-search/blob/main/app/static/settings/languages.json) (i.e. "lang_en" for English, "lang_es" for Spanish, etc). After you add a new set of translations to `translations.json`, open a PR with your changes and they will be merged in as soon as possible. ## FAQ **What's the difference between this and [Searx](https://github.com/asciimoo/searx)?** diff --git a/app/static/settings/languages.json b/app/static/settings/languages.json index 7056afa..3a9bab9 100644 --- a/app/static/settings/languages.json +++ b/app/static/settings/languages.json @@ -18,7 +18,7 @@ {"name": "Filipino (Pilipino)", "value": "lang_tl"}, {"name": "Finnish (Suomalainen)", "value": "lang_fi"}, {"name": "French (Français)", "value": "lang_fr"}, - {"name": "German (Deutsche)", "value": "lang_de"}, + {"name": "German (Deutsch)", "value": "lang_de"}, {"name": "Greek (Ελληνικά)", "value": "lang_el"}, {"name": "Hebrew (עִברִית)", "value": "lang_iw"}, {"name": "Hindi (हिंदी)", "value": "lang_hi"}, diff --git a/app/static/settings/translations.json b/app/static/settings/translations.json index 0880740..0f712ea 100644 --- a/app/static/settings/translations.json +++ b/app/static/settings/translations.json @@ -1,4 +1,32 @@ { + "lang_de": { + "search": "Suchen", + "config": "Einstellungen", + "config-country": "Ergebnisse nach Land filtern", + "config-country-help": "Hinweis: Wenn aktiv, wird eine Webseite nur angezeigt, wenn sie auch in dem jeweiligen Land *gehosted* wird.", + "config-lang": "Oberflächen-Sprache", + "config-lang-search": "Such-Sprache", + "config-near": "In der Nähe von", + "config-near-help": "Stadt-Name", + "config-block": "Block", + "config-block-help": "Komma-getrennte Liste von Seiten", + "config-nojs": "NoJS-Links anzeigen", + "config-dark": "Dark Mode", + "config-safe": "Sicheres Suchen", + "config-alts": "Social-Media-Links ersetzen", + "config-alts-help": "Ersetzt Twitter/YouTube/Instagram/etc Links mit Alternativen, welche die Privatsphäre respektieren.", + "config-new-tab": "Links in neuen Tabs öffnen", + "config-images": "Bilder-Suche in Vollbild", + "config-images-help": "(Experimentell) Fügt 'View Image'-Einstellung zu Dekstop Bilder-Suchen hinzu. Dadurch werden Thumbnails in niedrigerer Auflösung angezeigt.", + "config-tor": "Tor benutzen", + "config-get-only": "Auschließlich GET-Anfragen", + "config-url": "Root URL", + "config-css": "Custom CSS", + "load": "Laden", + "apply": "Übernehmen", + "save-as": "Speichern unter...", + "github-link": "Auf GitHub öffnen" + }, "lang_en": { "search": "Search", "config": "Configuration",