diff --git a/CNAME b/CNAME deleted file mode 100644 index 23ff9b6e1..000000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -phptherightway.com \ No newline at end of file diff --git a/README.md b/README.md index 5c47a2b03..8942f1e3a 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,36 @@ -# PHP: The Right Way +# PHP - aber richtig. -## Overview +## Überblick -This is the GitHub Pages repository for the _PHP: The Right Way_ project. +Dies ist das GitHub Repository für das Projekt „PHP - aber richtig“. -* This website is a Jekyll project. -* Each section and sub-section are a Markdown file in `_posts/`. -* Sub-sections have `isChild: true` in their front matter. -* The navigation and page structure are automatically generated. +* Diese Website ist ein Jekyll-Projekt. +* Jeder Abschnitt und Unterabschnitt ist eine Markdown-Datei in `_posts/`. +* Unterabschnitte haben im Front Matter den Wert `isChild: true`. +* Die Navigation und die Seitenstruktur werden automatisch generiert. ## Spread the Word! -_PHP: The Right Way_ has web banner images you can use on your website. Show your support, and let new PHP -developers know where to find good information! +_PHP - aber richtig_ bietet Web-Banner, die Sie auf Ihrer Website verwenden können. Zeigen Sie Ihre Unterstützung und zeigen Sie neuen PHP-Entwicklern, wo sie wertvolle Informationen finden können! -[See Banner Images](https://www.phptherightway.com/banners.html) +[hier die Banner Images](https://www.phptherightway.com/banners.html) ## How to Contribute -You should read the `CONTRIBUTING.md` file for precise instructions and tips. But, if you prefer a TL;DR: +Sie sollten für genaue Anweisungen und Tipps die Datei `CONTRIBUTING.md` lesen. Falls Sie eine kurze Zusammenfassung bevorzugen: -1. Fork and edit -2. Optionally install [Ruby](https://rvm.io/rvm/install/) with [Jekyll](https://github.com/mojombo/jekyll/) gem to preview locally -3. Submit pull request for consideration +1. Forken und bearbeiten +2. Optional [Ruby](https://rvm.io/rvm/install/) mit [Jekyll](https://github.com/mojombo/jekyll/) Gem installieren, um eine lokale Vorschau zu erhalten +3. Pull Request zur Prüfung einreichen ### Contributor Style Guide -1. Use American English spelling (*primary English repo only*). -2. Use four (4) spaces to indent text; do not use tabs. -3. Wrap all text to 120 characters. -4. Code samples should adhere to PSR-1 or higher. +1. Verwenden Sie amerikanisches Englisch (*nur primäres englisches Repository*). +2. Verwenden Sie vier (4) Leerzeichen zum Einrücken von Text; verwenden Sie keine Tabulatoren. +3. Brechen Sie den gesamten Text auf 120 Zeichen um. +4. Codebeispiele sollten PSR-1 oder höher entsprechen. -## Where +## Wo @@ -57,34 +56,39 @@ You should read the `CONTRIBUTING.md` file for precise instructions and tips. Bu * [简体中文](https://laravel-china.github.io/php-the-right-way/) * [繁體中文](https://laravel-taiwan.github.io/php-the-right-way) -### Translations +### Übersetzungen -If you are interested in translating _PHP: The Right Way_, fork this repo on GitHub and publish your localized fork to your own GitHub Pages account. We'll link to your translation from the primary document. +Wenn Sie _PHP - aber richtig_ übersetzen möchten, forken Sie das original-Repository auf GitHub und veröffentlichen Sie Ihren lokalisierten Fork in Ihrem eigenen GitHub-Konto. Wir verlinken Ihre Übersetzung vom Originaldokument aus. -To avoid fragmentation and reader confusion, please choose one of these options: +Um Fragmentierung und Leserverwirrung zu vermeiden, wählen Sie bitte eine dieser Optionen: -1. We link to your GitHub Pages fork with `[username].github.io/php-the-right-way` -2. We link to your GitHub Pages fork with a subdomain (e.g. "ru.phptherightway.com") +1. Wir verlinken Ihren GitHub Pages-Fork mit `[username].github.io/php-the-right-way`. +2. Wir verlinken Ihren GitHub Pages-Fork mit einer Subdomain (z. B. "de.phptherightway.com“). -If you use a subdomain, enter the subdomain into the `CNAME` file, and ask us to setup DNS for you. If you do not use a subdomain, remove the `CNAME` file entirely else your fork will not build when pushed. +Wenn Sie eine Subdomain verwenden, tragen Sie diese in die `CNAME`-Datei ein und bitten Sie uns, einen DNS für Sie einzurichten. Wenn Sie keine Subdomain verwenden, entfernen Sie die `CNAME`-Datei vollständig, da Ihr Fork sonst beim Pushen nicht erstellt wird. -Add information about your translation in the [wiki page](https://github.com/codeguy/php-the-right-way/wiki/Translations). +Fügen Sie Informationen zu Ihrer Übersetzung auf der [Wiki-Seite](https://github.com/codeguy/php-the-right-way/wiki/Translations) hinzu. -When your translation is ready, open an issue on the Issue Tracker to let us know. +Wenn Ihre Übersetzung fertig ist, öffnen Sie ein Thema im Issue Tracker, um uns dies mitzuteilen. -## Why -There's been a lot of discussion lately about how the PHP community lacks sufficient, credible information for programmers new to PHP. This repository aims to solve this problem. +## Warum -## Who +In letzter Zeit wurde viel darüber diskutiert, dass es der PHP-Community an ausreichenden und zuverlässigen Informationen für PHP-Einsteiger mangelt. Dieses Repository soll dieses Problem lösen. -My name is [Josh Lockhart](https://x.com/codeguy). I'm the author of the [Slim Framework](https://www.slimframework.com/), and I work for [New Media Campaigns](https://www.newmediacampaigns.com/). +## Wer + +Mein Name ist [Josh Lockhart](https://x.com/codeguy). Ich bin der Autor vom [Slim Framework](https://www.slimframework.com/), und arbeite für [New Media Campaigns](https://www.newmediacampaigns.com/). ### Collaborators * [Kris Jordan](https://krisjordan.com/) * [Phil Sturgeon](https://phil.tech/) -## License +### Übersetzung ins Deutsche + +* [Henrik Pantle](https://github.com/skipper-henrik) + +## Lizenz [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License](https://creativecommons.org/licenses/by-nc-sa/3.0/) diff --git a/_config.yml b/_config.yml index ed5167d0d..c39446636 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,4 @@ -baseurl: / +baseurl: /php-aber-richtig highlighter: rouge markdown: kramdown permalink: date @@ -22,7 +22,7 @@ defaults: path: /images/og-image.png width: 1024 height: 640 - alt: "PHP: The Right Way" + alt: "PHP - aber richtig." # Excludes should be appended to the default # https://github.com/jekyll/jekyll/blob/master/lib/site_template/_config.yml#L37-L55 @@ -47,7 +47,7 @@ exclude: future: true -title: "PHP: The Right Way" -tagline: Reference for PHP best practices -description: An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web +title: "PHP - aber richtig." +tagline: Referenz für PHP best Practices +description: Eine leicht verständliche Kurzreferenz für bewährte PHP-Herangehensweisen, anerkannte Coding-Standards und Links zu maßgeblichen Tutorials im Internet. logo: /images/og-image.png diff --git a/_includes/welcome.md b/_includes/welcome.md index 412989ad3..c678182f6 100644 --- a/_includes/welcome.md +++ b/_includes/welcome.md @@ -1,23 +1,21 @@ -# Welcome +# Willkommen -There's a lot of outdated information on the Web that leads new PHP users astray, -propagating bad practices and insecure code. _PHP: The Right Way_ is an easy-to-read, -quick reference for PHP popular coding standards, links to authoritative tutorials -around the Web, and what the contributors consider to be best practices at present. +Im Internet kursieren viele veraltete Informationen, die PHP-Anfänger verwirren +und so zu schlechten Praktiken und unsicherem Code führen. _PHP - aber richtig_ ist ein leicht +verständliches Nachschlagewerk zu gängigen PHP-Programmierstandards, Links zu maßgeblichen +Tutorials im Internet und Informationen zu den aktuellen Best-Practices der Autoren. -_There is no canonical way to use PHP_. This website aims to introduce new PHP -developers to some topics which they may not discover until it is too late, and aims -to give seasoned pros some fresh ideas on those topics they've been doing for years -without ever reconsidering. This website will also not tell you which tools to use, but -instead offer suggestions for multiple options, when possible explaining the differences -in approach and use-case. +Es gibt keine allgemeingültige Herangehensweise PHP zu verwenden. Diese Website möchte PHP-Anfängern +Themen näherbringen, die sie möglicherweise erst entdecken, wenn es zu spät ist, und erfahrenen +Profis neue Ideen zu Themen vermitteln, die sie seit Jahren unreflektiert bearbeiten. Diese +Website gibt Dir keine Anweisungen zu den zu verwendenden Tools, sondern bietet Vorschläge +für verschiedene Optionen und erläutert nach Möglichkeit die Unterschiede in Ansatz und Anwendungsfall. -This is a living document and will continue to be updated with more helpful information -and examples as they become available. +Dieses Dokument wird fortlaufend aktualisiert und mit hilfreichen Informationen und Beispielen ergänzt, sobald diese verfügbar sind. -## Translations +## Übersetzungen -_PHP: The Right Way_ is translated into many different languages: +Das Original, _PHP the right way_ wurde in viele Sprachen übersetzt: * [English](https://www.phptherightway.com) * [Español](https://phpdevenezuela.github.io/php-the-right-way) @@ -41,13 +39,15 @@ _PHP: The Right Way_ is translated into many different languages: * [简体中文](https://laravel-china.github.io/php-the-right-way/) * [繁體中文](https://laravel-taiwan.github.io/php-the-right-way) -## Book +Diese Übersetzung ins Deutsche wurde von [Henrik Pantle](http://henrik-pantle.de) aka [skipper-henrik](https://github.com/skipper-henrik/) besorgt. -The most recent version of _PHP: The Right Way_ is also available in PDF, EPUB and MOBI formats. [Go to Leanpub][1] +## Buch -## How to Contribute +Die neueste Version von _PHP - aber richtig_ ist in der englischen Originalversion als _PHP: The Right Way_ auch in den Formaten PDF, EPUB und MOBI verfügbar. [Zu Leanpub][1] -Help make this website the best resource for new PHP programmers! [Contribute on GitHub][2] +## Wie Mithelfen? + +Hilf mit, diese Website zur besten Ressource für neue PHP-Programmierer zu machen! [Contribute on GitHub][2] [1]: https://leanpub.com/phptherightway [2]: https://github.com/codeguy/php-the-right-way/tree/gh-pages diff --git a/_layouts/default.html b/_layouts/default.html index 0727f1fcd..8e38b6617 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,7 +16,7 @@