es geht um die Übersetzung von “schwerer”- zu “leichter”-Sprache, aber eben beides in deutscher Sprache. Ein URL wie
/nicht-leichte-sprache/der-verein.html
/leichte-sprache/der-verein.html
kommt mir etwas seltsam vor. Das würde ich gerne vermeiden.
Gibt es die Möglichkeit die gewählte Sprachvariante per Cookie zu speichern?
Ist eine Leere Zeichenkette als language.code sicher?
Wenn das mit dem “sprachkürzel-nicht-im-url” nicht so recht funktioniert, wäre eine Markierung im URL zur Erkennung der “Leichten Sprache” OK für mich. Also in etwa so:
Nun funktioniert das zwar in so weit, dass ich im Frontend navigieren kann, habe aber das Gefühl, dass es nur scheinbar funktioniert … denn welche Folgen das hat oder ob das überhaupt eine gute Idee ist kann ich bisher nicht abschätzen, da ich doch relative neu bin und auch zum ersten Mal mit der Mehrsprachigkeit hantiere.
Before I answer, please note that the forum is intended for an international audience, therefore the language here is English.
I guess you don’t mean fragment, but url path.
Don’t leave the code empty. If you want to prevent having the language code in the Url for the “default” language, set the url property to / instead of the code to an empty string.
Don’t leave the code empty. If you want to prevent having the language code in the Url, set the url property to / instead of the code to an empty string.
Thank you very much, that helps. Would be cool if you could also help me to find the right place in the documentation where all the available config keys for a language are descriped.
[…] the language here is English.
Will try to follow, but my englisch is not that good, the most of my thoughts are based on native german and they want out the same way
I’m not really familiar with the guidelines for “Leichte Sprache”, however, from what I’ve seen so far, the “Leichte Sprache” parts of a website are usually not 1:1 translations of the standard language, but rather an abridged version summarizing the contents, e.g. Bundes-Presse-Amt: Informationen in Leichter Sprache | Bundesregierung
In those cases, the “Leichte Sprache” part is rather a subpage with information in LS than a translation.