Drupal mehrsprachig
-
Upload
sabine-maennel -
Category
Technology
-
view
3.996 -
download
1
description
Transcript of Drupal mehrsprachig
![Page 1: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/1.jpg)
Drupal Internationalization?
![Page 2: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/2.jpg)
Es funktioniert
nicht elegant
aber pragmatisch mit Tricks und Tipps
![Page 3: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/3.jpg)
Verwendete Module
• Locale
• Internationalization
• Localisation Client
• (Translation Overview)
![Page 4: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/4.jpg)
• Modul: Locale Siteconfiguration -> Languages : Sprache einstellen
Interface Übersetzungen werden heruntergeladen
Sprachenblock sichtbar machen
Schritt 1: Sprache aktivieren
![Page 5: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/5.jpg)
![Page 6: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/6.jpg)
![Page 7: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/7.jpg)
![Page 8: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/8.jpg)
• Modulblock: Internationalization
Neuer Modulblock mit vielen Komponenten :
Elemente zur Überstzung freigeben
Synchronisierung zwischen Text und Übersetzung nicht vergessen!
Schritt 2: Inhalte übersetzen
![Page 9: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/9.jpg)
Strategie bei Internationale
Funktioniert bei 2 Sprachen:
Drupal macht einen node pro Uebersetzung: Dinge, die noch nicht übersetzt sind, sprachneutral lassen, und die Webseite auf aktuelle Sprache oder neutral einstellen.
Effekt: man sieht jeden Beitrag entweder im Orginal, oder in der eingestellten Sprache, jenachdem ob übersetzt oder nicht.
![Page 10: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/10.jpg)
Ab 3 Sprachen braucht man eine andere Strategie
• Und ein anderes Modul, wenn man gemischtsprachige Übersetzungen anzeigen will: wenn alles, was nicht bereits übersetzt ist, in Orginalsprache angezeigt werden soll.
Module: Active Translation, Select Translation
![Page 11: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/11.jpg)
![Page 12: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/12.jpg)
Synchronize!
![Page 13: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/13.jpg)
Bei den Inhaltstypen: Sprachen
und Synchronisierung
aktivieren
![Page 14: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/14.jpg)
• settings-php ändernsites/default/settings.php
Schritt 3: Seitenmotto,etc
![Page 15: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/15.jpg)
Site Variablen mehrsprachig machen!
![Page 16: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/16.jpg)
Nach der Sprache wechseln und Seiteninfo noch mal eingeben
![Page 17: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/17.jpg)
• Modul: Localisation Client Dieses Modul ist genial!
Schritt 4: Rest anpassen
![Page 18: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/18.jpg)
![Page 19: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/19.jpg)
Translate Text Button
unten rechts
![Page 20: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/20.jpg)
Übersetzbare Texte werden weiss angezeigt, schon übersetzte grün
![Page 21: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/21.jpg)
• Translationinterface/Search benutzen
Manche Strings findet Localisation Client nicht
![Page 22: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/22.jpg)
![Page 23: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/23.jpg)
![Page 24: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/24.jpg)
Schon übersetzt: “de”
![Page 25: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/25.jpg)
Noch nicht übersetzt: de
![Page 26: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/26.jpg)
![Page 27: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/27.jpg)
Aktualisieren?
![Page 28: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/28.jpg)
Übersetzte Inhaltstypen erscheinen nur bei Inhalte erstellen
![Page 29: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/29.jpg)
Nicht bei Inhaltstypen verwalten!
![Page 30: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/30.jpg)
• Modulblock Internationalization: Taxonomie translation aktivieren
Schritt 6: Taxonomie
Vorsicht: internationale Taxonomie von Anfang an planen, Sprache des Vokalbulars kann später nicht mehr geändert werden!
Sprache: neutral lassen!
![Page 31: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/31.jpg)
![Page 32: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/32.jpg)
![Page 33: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/33.jpg)
Keine Synchronisation der Taxonomie beim Inhaltstyp!
![Page 34: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/34.jpg)
![Page 35: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/35.jpg)
![Page 36: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/36.jpg)
![Page 37: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/37.jpg)
![Page 38: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/38.jpg)
![Page 39: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/39.jpg)
![Page 40: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/40.jpg)
• Modul: Translation Overview
Schritt 7: Übersicht bewahren
![Page 41: Drupal mehrsprachig](https://reader036.fdocument.pub/reader036/viewer/2022081508/55781a70d8b42ab40c8b4cbe/html5/thumbnails/41.jpg)