Open jensens opened 3 months ago
When plone.volto becomes a distribution, it should ask as part of the site creation form what languages to enable (or at least the primary language), and update the registry setting based on that parameter.
So if you are creating a site with "only" the plone.volto distribution, you can specify the language there, but if you are using plone.volto as a dependency of some other policy package, you can configure the languages in the policy package.
@ericof Do I have it right?
Apologies if this is off-topic. @davisagli's comment brought to my mind to set a default timezone (or enabling multiple timezones) for a site. Should I create a ticket to set the site's default timezone, similar to setting a default language or enabling multiple languages?
When plone.volto becomes a distribution, it should ask as part of the site creation form what languages to enable (or at least the primary language), and update the registry setting based on that parameter.
So if you are creating a site with "only" the plone.volto distribution, you can specify the language there, but if you are using plone.volto as a dependency of some other policy package, you can configure the languages in the policy package.
If the profile here installs already the LRFs for the languages it is a nasty work to remove unneeded. This happened to me, and the reason I wrote this issue. If it it does not install them, then the distribution install is not complete.
Should I create a ticket to set the site's default timezone, similar to setting a default language or enabling multiple languages?
I would add such a ticket to Products.CMFPlone, because it is not volto-related.
We install English and Italian and German here: https://github.com/plone/plone.volto/blob/main/src/plone/volto/profiles/multilingual/registry.xml
I do think we should make such a choice here. Otherwise one with other choices need to remove the language after using the profile.
Otherwise, if it is a test-profile only, not intended to be used outside of testing, it should be named explicit as such.