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.
Hi arthur, thank you very much for your response. After your question I came to the solution. We must be correctly added languages in locale settings and mirror defined in the config.php file. I am adding the prnscr, but no advice is needed. The thread will hopefully help someone who will configure languages.
I still need help with another issue I can’t figure out. I followed the instructions provided earlier in this thread.
However, data from other locations only update (display the second language in the API data) when I either set the locale for the localization to “Disabled” or completely delete the language from the locale. Until then, the data for the set localization does not appear in the API—even though I can see the localization in the singleton and the JSON Viewer.
Below, I’m sharing the Prncs settings and the API output. Does anyone know what could be causing this?