Return Kirby's error message in non-english language

Hi there,

I am setting up a registration field for users, that returns a Kirby error message if a user with the given email already exists. Currently it returns the english error message:

A user with the email address "" already exists

I would like to return this message in German instead, as my site is gonna be German. How can I set this up? I do not want to create a multi language setup, as I only need one language.


See Exception messages and locale - #2 by texnixe

Sorry, only now had the chance to continue on the project.


Kirby\Toolkit\I18n::$locale = 'de';

directly in the template worked for me. Thanks!