I am working on a eZPlatform 2.5 project which is used most likely as an API, so there is no frontend.
All ezplatform.yml configuration are the default ones, so with a single language => eng-GB.
However, in the admin CMS there are 2 languages (Admin -> Languages): English and German.
I want to be able to edit content for each of this languages, but at the moment, when I click on ‘Edit’ and choose the second language (German), the Draft editor opens, the the fields are readonly and there’s a notification in the top that says: You cannot preview this translation: there is no site available for this language. Please contact the website administrator.
When trying to edit content in the deafult language (English), everything is fine.
In order to fix this, I read the documentation and tried the following configuration in the ezplatform.yml:
ezpublish:
siteaccess:
list: [site_ger, site_eng]
groups:
site_group: [site_ger, site_eng]
default_siteaccess: site_ger
admin_group:
languages: [ger-DE, eng-GB]
site_ger:
languages: [ger-DE]
site_eng:
languages: [eng-GB]
Using these configuration, when trying to edit the content in German, the notification (“there is no site available for this language.”) is gone, but the fields are still readonly and since some of them are required, I cannot even publish/update the content.
Can someone confirm that my configurations are valid and if there are still additional steps to do?