Hi to all Cockpit users,
I have the task of adding different localizations to the website (Cockpit version 2), but I am unable to output the language field to the URL (/page/getSingleton?name=Career&locale=en), even though I believe I’m doing everything correctly.
In the admin, I have added the language and enabled it for the singleton field, but the field doesn’t display in the output.
I also tried editing the config.php
file with the following entry:
return [
‘languages’ => [
‘default’ => ‘Czech’, #setting a default language is optional
‘en’ => ‘English’
]
];
Can anyone advise me on what I might be doing wrong?
Many thanks to everyone!