Add German translation (#339)

* Added german language

* Fixed translations.json path

* Fixed German name
pull/341/head
Myzel394 3 years ago committed by GitHub
parent cbe32a081e
commit 7103d9eccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)?**

@ -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"},

@ -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",

Loading…
Cancel
Save