Giter Club home page Giter Club logo

de-de's Introduction

de_DE.php

Beschreibung (Deutsch)

Diese Sprach-DropIn ersetzt diverse Zeichen durch entprechende Strings in den Permalinks und den Namen hochgeladener Dateien. Im weiteren wird der Sprachschlüssel der Feeds gesetzt.

Description (English)

This DropIn add special german permalink sanitize and replaces characters with appropriate transliterations uploads will be only needed at admin center and xmlrpc calls.

Lösungen

  • Ersatz von Umlauten und Sonderzeichen um saubere Permalinks zu erzeugen
    • Beispiel: Das häßliche Entlein kostet 1 € wird im Permalink zu das haessliches-entlein-kostet-1-eur
    • Hinweis: Bei Verwendung des Gutenberg Editors klappt dies nicht, da via Ajax der Permalink aus dem Titel generiert wird.
    • Beispiel: Häßliches Entlein.png wird zu haessliches-entlein.png
  • Setzt den Sprachwert des Feed auf de (dafür hat WordPress keine sichtbare Option)

Hinweise

  • Wenn das Plugin Germanix aktiv ist, dann wirkt dieses Plugin de_DE.php nicht.
  • Seit Version 1.0.0 wird Gutenberg unterstützt, beispielsweise beim UPload von Media-Dateien via Drag&Drop. Allerdings sind nicht ausreichend Hooks vorhanden, so dass der Titel des Bildes ebenso angepasst wird. Wird also der Titel ins auberer Form benötigt, so muss dies manuel angepasst werden. Der Dateiname wird aber sauber gefiltert.

Einsatz als Dropin

  • Upload der Datei de_DE.php in Sprachordner, üblicherweise wp-content/languages
  • Das Dropin ist automatisch aktiv, sobald der Sprachschlüssel (Konstante: WPLANG) in der wp-config.phpauf de_DE gesetzt ist oder (seit WordPress Version 4.0) die Sprache Deutsch in den Einstellungen gesetzt ist.

Einsatz als Plugin

  • Upload des Ordners oder nur der Datei de_DE.php in den Plugin-Ordner der Installation , im Standard ist das wp-content/plugins
  • Das Plugin im Administrationsbereich --> Plugins aktivieren

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.