I have created a site grav cms using grantry 5 helium theme. I am trying to create multilingual site following your grav documentation instructions. Everything works fine except the footer of the form page. The footer of the form page stays in english no matter what language is selected. The footer i think is inherited from base outline which i don’t know how to make multilingual.
Following is the form page md files for english and greek language
contact-form.en.md
---
title: 'Contact Form'
form:
fields:
name:
type: text
label: Name
validate:
required: true
message: 'Please enter your name!'
email:
type: email
label: Email
validate:
type: email
required: true
message: 'Please enter your email address!'
subject:
type: text
label: Subject
validate:
required: true
message: 'Please enter a subject for your message!'
message:
type: textarea
label: Message
validate:
required: true
min: 10
message: 'Email message needs to be more than 10 characters long!'
buttons:
submit:
type: submit
value: Submit
reset:
type: reset
value: Reset
process:
email:
from: '{{ config.plugins.email.from }}'
to: '{{ config.plugins.email.to }}'
subject: '[Contact] {{ form.value.subject|raw }}'
body: '{{ form.value.message }}<br /><br />From: {{ form.value.name }}<br />Email: {{ form.value.email }}'
message: 'Thank you from contacting us! {{ form.value(''person.name'') }}'
reset: true
login: { }
---
# Contact Form
* Required field
contact-form.gr.md
---
title: 'Φόρμα Επικοινωνίας'
form:
name: 'Φόρμα Επικοινωνίας'
fields:
name:
type: text
label: ΄Ονομα
validate:
required: true
message: 'Please enter your name!'
email:
type: email
label: Email
validate:
type: email
required: true
message: 'Παρακαλώ Δωστε σωστήμορφή email διεύθυνσης!'
subject:
type: text
label: Τίτλος
validate:
required: true
message: 'Παρακαλώ Δώστε Ένα Τίτλο Για Το Μήνυμά σας!'
message:
type: textarea
label: Μήνυμα
validate:
required: true
min: 10
message: 'Το μήνυμα πρέπει να έχει τουλάχιστον 10 χαρακτήρες μήκος!'
buttons:
submit:
type: submit
value: Υποβολη
reset:
type: reset
value: Επαναφορα
process:
email:
from: '{{ config.plugins.email.from }}'
to: '{{ config.plugins.email.to }}'
subject: '[Contact] {{ form.value.subject|raw }}'
body: '{{ form.value.message }}<br /><br />From: {{ form.value.name }}<br />Email: {{ form.value.email }}'
message: 'Σας Ευχαριστούμε που Επικοινωνήσατε Μαζί μας! {{ form.value(''person.name'') }}'
reset: true
login: { }
---
# Φόρμα Επικοινωνίας
* Απαιτούμενα Πεδία
Help is very appreciated, i am banging my head the whole day to make it work.