I’ve got the same issue as: Error Page is shown in wrong language
I’m on a multiple language site everything works as expected but only the error page shows the default language only. There is a translation in place, but is not displayed.
My languages set up:
return [
'code' => 'nl',
'default' => true,
'direction' => 'ltr',
'name' => 'Nederlands',
'url' => '/',
'locale' => [
'LC_ALL' => 'nl_NL.utf8',
'LC_COLLATE' => 'nl_NL.utf8',
'LC_MONETARY' => 'nl_NL.utf8',
'LC_NUMERIC' => 'nl_NL.utf8',
'LC_TIME' => 'nl_NL.utf8',
'LC_MESSAGES' => 'nl_NL.utf8',
'LC_CTYPE' => 'nl_NL.utf8'
],
];
return [
'code' => 'en',
'default' => false,
'direction' => 'ltr',
'name' => 'English',
'url' => 'en',
'locale' => [
'LC_ALL' => 'en_GB.utf8',
'LC_COLLATE' => 'en_GB.utf8',
'LC_MONETARY' => 'en_GB.utf8',
'LC_NUMERIC' => 'en_GB.utf8',
'LC_TIME' => 'en_GB.utf8',
'LC_MESSAGES' => 'en_GB.utf8',
'LC_CTYPE' => 'en_GB.utf8'
],
];
I’m using Kirby 3.9.1