Skip to content

Commit

Permalink
Enable language support
Browse files Browse the repository at this point in the history
* Enable lanauge support modules
* Set german as default language
* Configure locale setting
  • Loading branch information
corvus-ch committed Dec 6, 2024
1 parent 11a0e63 commit e5a48c3
Show file tree
Hide file tree
Showing 88 changed files with 323 additions and 25 deletions.
6 changes: 3 additions & 3 deletions config/default/core.date_format.long.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
uuid: 631e6cc0-e2ed-4fcb-9c2f-4682574ec5be
langcode: en
langcode: de
status: true
dependencies: { }
_core:
default_config_hash: og8sWXhBuHbLMw3CoiBEZjgqSyhFBFmcbUW_wLcfNbo
id: long
label: 'Default long date'
label: 'Standard-Datum lang'
locked: false
pattern: 'l, F j, Y - H:i'
pattern: 'l, j. F Y H:i'
6 changes: 3 additions & 3 deletions config/default/core.date_format.medium.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
uuid: e1e81f7e-e77e-42dd-964d-5e86f553336b
langcode: en
langcode: de
status: true
dependencies: { }
_core:
default_config_hash: nzL5d024NjXIX_8TlT6uFAu973lmfkmHklJC-2i9rAE
id: medium
label: 'Default medium date'
label: 'Standard-Datum mittellang'
locked: false
pattern: 'D, m/d/Y - H:i'
pattern: 'D, d.m.Y H:i'
6 changes: 3 additions & 3 deletions config/default/core.date_format.short.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
uuid: 30d2fc55-9d7c-4de8-8805-d21c8d9e77df
langcode: en
langcode: de
status: true
dependencies: { }
_core:
default_config_hash: AlzeyytA8InBgxIG9H2UDJYs3CG98Zj6yRsDKmlbZwA
id: short
label: 'Default short date'
label: 'Standard-Datum kurz'
locked: false
pattern: 'm/d/Y - H:i'
pattern: 'd.m.Y H:i'
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,11 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ content:
region: content
settings: { }
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ content:
third_party_settings: { }
weight: 0
region: content
hidden: { }
hidden:
langcode: true
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ content:
third_party_settings: { }
weight: 100
region: content
hidden: { }
hidden:
langcode: true
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ content:
third_party_settings: { }
weight: 100
region: content
hidden: { }
hidden:
langcode: true
2 changes: 2 additions & 0 deletions config/default/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ module:
file: 0
filter: 0
image: 0
language: 0
link: 0
locale: 0
menu_link_content: 0
menu_ui: 0
mysql: 0
Expand Down
11 changes: 11 additions & 0 deletions config/default/language.content_settings.block_content.image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: 11af3fa6-d8b4-4827-b1d1-a2636c5ffbc6
langcode: en
status: true
dependencies:
config:
- block_content.type.image
id: block_content.image
target_entity_type_id: block_content
target_bundle: image
default_langcode: site_default
language_alterable: false
11 changes: 11 additions & 0 deletions config/default/language.content_settings.file.file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: 49ab8254-f389-4eda-9a99-554d87d4d5e7
langcode: en
status: true
dependencies:
module:
- file
id: file.file
target_entity_type_id: file
target_bundle: file
default_langcode: site_default
language_alterable: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: 8c18b1b9-3bbf-4045-a54b-d14752d18871
langcode: en
status: true
dependencies:
module:
- menu_link_content
id: menu_link_content.menu_link_content
target_entity_type_id: menu_link_content
target_bundle: menu_link_content
default_langcode: site_default
language_alterable: false
11 changes: 11 additions & 0 deletions config/default/language.content_settings.node.migrated_page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: 614ee24c-a5d0-49be-951c-a1d7461d03f9
langcode: en
status: true
dependencies:
config:
- node.type.migrated_page
id: node.migrated_page
target_entity_type_id: node
target_bundle: migrated_page
default_langcode: site_default
language_alterable: false
13 changes: 13 additions & 0 deletions config/default/language.content_settings.path_alias.path_alias.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: a8cab2be-a539-46e1-b45e-8ecf22c934c2
langcode: en
status: true
dependencies:
module:
- path_alias
_core:
default_config_hash: dhjFABRzm52DkRXnYja5ZoHwjY0R3gEGic3KpDUXgRo
id: path_alias.path_alias
target_entity_type_id: path_alias
target_bundle: path_alias
default_langcode: und
language_alterable: false
11 changes: 11 additions & 0 deletions config/default/language.content_settings.user.user.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: c827d8de-4a37-4805-81a2-185bfeac6bac
langcode: en
status: true
dependencies:
module:
- user
id: user.user
target_entity_type_id: user
target_bundle: user
default_langcode: site_default
language_alterable: false
9 changes: 9 additions & 0 deletions config/default/language.entity.de.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
uuid: 685bd084-f6c0-4cba-90f2-07259b8ed90e
langcode: en
status: true
dependencies: { }
id: de
label: German
direction: ltr
weight: -9
locked: false
11 changes: 11 additions & 0 deletions config/default/language.entity.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: f2ff7957-9f58-4a6b-a642-51d2b92b97af
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: lBXDpdDPXQtrfTJQhr6MjRJJEEyYSoRJ0acdvHLsWeA
id: en
label: English
direction: ltr
weight: -10
locked: false
11 changes: 11 additions & 0 deletions config/default/language.entity.und.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: babf6d51-2068-422f-b26f-1f154c77174a
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: eNX6lLCKDaY83nCMh20My---y03KbiFlv802DKCCpvg
id: und
label: 'Not specified'
direction: ltr
weight: 2
locked: true
11 changes: 11 additions & 0 deletions config/default/language.entity.zxx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: 0427d96f-89f4-483c-b452-617fb9252e84
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: 35CefWbnzaiytcg3acexxz_GTvuwIjYd_ZTcmmR-tXA
id: zxx
label: 'Not applicable'
direction: ltr
weight: 3
locked: true
13 changes: 13 additions & 0 deletions config/default/language.mappings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
_core:
default_config_hash: EMWe7Yu4Q5eD-NUfNuQAWGBvYUNZPIinztEtONSmsDc
map:
'no': nb
pt: pt-pt
zh: zh-hans
zh-tw: zh-hant
zh-hk: zh-hant
zh-mo: zh-hant
zh-cht: zh-hant
zh-cn: zh-hans
zh-sg: zh-hans
zh-chs: zh-hans
13 changes: 13 additions & 0 deletions config/default/language.negotiation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
_core:
default_config_hash: uEePITI9tV6WqzmsTb7MfPCi5yPWXSxAN1xeLcYFQbM
session:
parameter: language
url:
source: path_prefix
prefixes:
en: en
de: de
domains:
en: ''
de: ''
selected_langcode: site_default
27 changes: 27 additions & 0 deletions config/default/language.types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
_core:
default_config_hash: dqouFqVseNJNvEjsoYKxbinFOITuCxYhi4y2OTNQP_8
all:
- language_interface
- language_content
- language_url
configurable:
- language_interface
negotiation:
language_content:
enabled:
language-interface: 0
language_url:
enabled:
language-url: 0
language-url-fallback: 1
language_interface:
enabled:
language-user-admin: -10
language-selected: 12
method_weights:
language-user-admin: -10
language-url: -8
language-session: -6
language-user: -4
language-browser: -2
language-selected: 12
2 changes: 2 additions & 0 deletions config/default/language/de/block.block.claro_breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: Pfadnavigation
2 changes: 2 additions & 0 deletions config/default/language/de/block.block.claro_content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: 'Hauptinhalt der Seite'
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: 'Primäre Verwaltungsaktionen'
2 changes: 2 additions & 0 deletions config/default/language/de/block.block.claro_messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: Status-Nachrichten
2 changes: 2 additions & 0 deletions config/default/language/de/block.block.claro_page_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: Seitentitel
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: 'Primäre Reiter'
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: 'Sekundäre Reiter'
1 change: 1 addition & 0 deletions config/default/language/de/core.date_format.fallback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Ersatz-Datumsformat
1 change: 1 addition & 0 deletions config/default/language/de/core.date_format.html_date.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Datum (HTML)'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'HTML Datum und Zeit'
1 change: 1 addition & 0 deletions config/default/language/de/core.date_format.html_month.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Monat (HTML)'
1 change: 1 addition & 0 deletions config/default/language/de/core.date_format.html_time.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Zeit (HTML)'
1 change: 1 addition & 0 deletions config/default/language/de/core.date_format.html_week.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Woche (HTML)'
1 change: 1 addition & 0 deletions config/default/language/de/core.date_format.html_year.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Jahr (HTML)'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Datum ohne Jahr (HTML)'
2 changes: 2 additions & 0 deletions config/default/language/de/core.date_format.long.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: 'Standard-Datum lang'
pattern: 'l, j. F Y - H:i'
2 changes: 2 additions & 0 deletions config/default/language/de/core.date_format.medium.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: 'Standard-Datum mittellang'
pattern: 'D, d.m.Y - H:i'
2 changes: 2 additions & 0 deletions config/default/language/de/core.date_format.short.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: 'Standard-Datum kurz'
pattern: 'd.m.Y - H:i'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Registrieren
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Vollständig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Vollständiger Inhalt'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: RSS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Suchindex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Suchergebnis mit Hervorhebung'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Anrisstext
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Kompakt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Benutzerkonto
1 change: 1 addition & 0 deletions config/default/language/de/filter.format.plain_text.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: Klartext
1 change: 1 addition & 0 deletions config/default/language/de/image.style.large.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Groß (480x480)'
1 change: 1 addition & 0 deletions config/default/language/de/image.style.medium.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Mittel (220x220)'
1 change: 1 addition & 0 deletions config/default/language/de/image.style.thumbnail.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Miniaturansicht (100x100)'
1 change: 1 addition & 0 deletions config/default/language/de/image.style.wide.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Breit (1090)'
1 change: 1 addition & 0 deletions config/default/language/de/language.entity.de.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Deutsch
1 change: 1 addition & 0 deletions config/default/language/de/language.entity.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Englisch
1 change: 1 addition & 0 deletions config/default/language/de/language.entity.und.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Nicht angegeben'
1 change: 1 addition & 0 deletions config/default/language/de/language.entity.zxx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Nicht zutreffend'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Inhalt löschen'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Inhalt anpinnen (oben in Listen)'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Inhalt nicht mehr anpinnen'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Inhalt auf der Startseite anzeigen'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Inhalt veröffentlichen'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Inhalt speichern'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Inhalt von der Startseite entfernen'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Veröffentlichung des Inhalts zurücknehmen'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'URL-Alias aktualisieren'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'URL-Alias aktualisieren'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Ausgewählte Benutzer sperren'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Die ausgewählten Benutzerkonten löschen'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Ausgewählte Benutzer entsperren'
1 change: 1 addition & 0 deletions config/default/language/de/system.maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
message: 'Wir führen derzeit Wartungsarbeiten auf @site durch und werden in Kürze wieder erreichbar sein. Vielen Dank für Ihre Geduld.'
2 changes: 2 additions & 0 deletions config/default/language/de/system.menu.account.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: Benutzermenü
description: 'Links im Bezug auf das aktive Benutzerkonto'
2 changes: 2 additions & 0 deletions config/default/language/de/system.menu.admin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: Verwaltung
description: 'Links für administrative Aufgaben'
2 changes: 2 additions & 0 deletions config/default/language/de/system.menu.footer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: Fußzeile
description: 'Links zu Website-Informationen'
2 changes: 2 additions & 0 deletions config/default/language/de/system.menu.main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: Hauptnavigation
description: 'Das Hauptmenü mit mindestens allen Einstiegsseiten'
2 changes: 2 additions & 0 deletions config/default/language/de/system.menu.tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: Werkzeuge
description: 'Links zu Benutzerwerkzeugen, meist von Modulen hinzugefügt'
Loading

0 comments on commit e5a48c3

Please sign in to comment.