Ondersteuning meerdere talen en bijbehorende menu's

This commit is contained in:
Michael Boelen 2023-05-29 19:30:07 +02:00
parent 0ff507503e
commit bbdac077af
4 changed files with 39 additions and 18 deletions

View file

@ -3,7 +3,7 @@
# The pageRef entries have Dutch names, as the Dutch content section is the primary source for the translations # The pageRef entries have Dutch names, as the Dutch content section is the primary source for the translations
[[main]] [[main]]
identifier = "organization" identifier = "organisatie"
name = "Organization" name = "Organization"
pageRef = "/organisatie" pageRef = "/organisatie"
weight = 10 weight = 10

View file

@ -1,54 +1,54 @@
# Menu-configuratie # Menu-configuratie
[[main]] [[main]]
identifier = "organization" identifier = "organisatie"
name = "Organisatie" name = "Organisatie"
pageRef = "/organisatie" pageRef = "/organisatie"
weight = 10 weight = 10
[[main]] [[main]]
identifier = "organization-goals" identifier = "organisatie-goals"
name = "Doelstellingen" name = "Doelstellingen"
url = "/organisatie/doelstellingen/" url = "/organisatie/doelstellingen/"
parent = "organization" parent = "organisatie"
weight = 11 weight = 11
[[main]] [[main]]
identifier = "organization-board" identifier = "organisatie-bestuur"
name = "Bestuur" name = "Bestuur"
url = "/organisatie/bestuur/" url = "/organisatie/bestuur/"
parent = "organization" parent = "organisatie"
weight = 12 weight = 12
[[main]] [[main]]
identifier = "organization-committees" identifier = "organisatie-commissies"
name = "Commissies" name = "Commissies"
url = "/organisatie/commissies/" url = "/organisatie/commissies/"
parent = "organization" parent = "organisatie"
weight = 13 weight = 13
[[main]] [[main]]
identifier = "nluug-award" identifier = "nluug-award"
name = "NLUUG Award" name = "NLUUG Award"
url = "/organisatie/nluug-award/" url = "/organisatie/nluug-award/"
parent = "organization" parent = "organisatie"
weight = 14 weight = 14
[[main]] [[main]]
identifier = "events" identifier = "evenementen"
name = "Evenementen" name = "Evenementen"
url = "/evenementen/" url = "/evenementen/"
weight = 20 weight = 20
[[main]] [[main]]
identifier = "events-calendar" identifier = "evenementen-kalender"
name = "Kalender" name = "Kalender"
url = "/evenementen/kalender/" url = "/evenementen/kalender/"
parent = "events" parent = "evenementen"
weight = 21 weight = 21
[[main]] [[main]]
identifier = "membership" identifier = "lidmaatschap"
name = "Lidmaatschap" name = "Lidmaatschap"
url = "/lidmaatschap/" url = "/lidmaatschap/"
weight = 30 weight = 30
@ -57,25 +57,25 @@
identifier = "lidmaatschap-tarieven" identifier = "lidmaatschap-tarieven"
name = "Tarieven" name = "Tarieven"
url = "/lidmaatschap/tarieven/" url = "/lidmaatschap/tarieven/"
parent = "membership" parent = "lidmaatschap"
weight = 31 weight = 31
[[main]] [[main]]
identifier = "lidmaatschap-aanmelden" identifier = "lidmaatschap-aanmelden"
name = "Aanmelden" name = "Aanmelden"
url = "/lidmaatschap/aanmelden/" url = "/lidmaatschap/aanmelden/"
parent = "membership" parent = "lidmaatschap"
weight = 32 weight = 32
[[main]] [[main]]
identifier = "lidmaatschap-ereleden" identifier = "lidmaatschap-ereleden"
name = "Ereleden" name = "Ereleden"
url = "/lidmaatschap/ereleden/" url = "/lidmaatschap/ereleden/"
parent = "membership" parent = "lidmaatschap"
weight = 33 weight = 33
[[main]] [[main]]
identifier = "news" identifier = "nieuws"
name = "Nieuws" name = "Nieuws"
url = "/nieuws/" url = "/nieuws/"
weight = 40 weight = 40
@ -87,7 +87,7 @@
weight = 50 weight = 50
[[footer]] [[footer]]
identifier = "terms" identifier = "voorwaarden"
name = "Algemene Voorwaarden" name = "Algemene Voorwaarden"
pageRef = "/algemene-voorwaarden/" pageRef = "/algemene-voorwaarden/"
weight = 10 weight = 10

4
i18n/en.yaml Normal file
View file

@ -0,0 +1,4 @@
- id: back_to_home
translation: Back to home
- id: organisatie
translation: organization

17
i18n/nl.yaml Normal file
View file

@ -0,0 +1,17 @@
- id: back_to_home
translation: "Terug naar hoofdpagina"
- id: contact
translation: contact
- id: events
translation: evenementen
- id: membership
translation: lidmaatschap
- id: news
translation: nieuws
- id: organization
translation: organisatie
- id: privacy
translation: privacy
- id: search
translation: zoeken