Problem/Motivation
Drupal CMS looks nice... on presentation. But it completely unusable as starting point for non English sites.
Just change installer language to any other variant exept English and after install you will get unusable site. I understand why "homepage" page can be broken. But why Drupal Canvas so broken and can`t be used for creating pages?...
Steps to reproduce
1. Download Drupal CMS with composer
2. Choose any other installer language exept English
3. Voila - you get broken site
Proposed resolution
Make receipts not so language dependent?
I do not mind if after installing Drupal CMS in French/Italian/Ukrainian etc. I will get demo content in English. I am concerned that the site completely broken and not working after installation.
Comments
Comment #2
bondd commentedComment #3
phenaproximaThis, I'm sorry to say, is something we have known about for a long time.
The problem is not really us; the issue is that core doesn't properly support multilingual recipes, for a whole host of complex reasons. Canvas has a whole other set of problems related to multilingual.
Indeed, there is a whole gaggle of people (alexpott, bircher, Jose Reyero, Anjali Rathod, penyaskito, others I'm forgetting at the moment) who are working on trying to fix core's support for multilingual recipes. When that happens, Drupal CMS will of course immediately adopt whatever APIs, and make whatever changes, are needed to support that.
If you want to join that effort, you'd be more than welcome -- I can put you in touch with the right folks (some of whom are listed above). Feel free to DM me in Drupal Slack; my handle is phenaproxima.
But unfortunately, at this point in the game, multilingual support is out of Drupal CMS's hands. The necessary fixes and additions are complicated, and to make things worse, they also need to be done deep in core subsystems, which we cannot polyfill or patch. We're not happy about it, as multilingual is supposed to be one of Drupal's strengths, but that's the situation.
Comment #4
pameeela commentedThe above information is true, but Drupal CMS should be (and in my experience is) installable in other languages. This report isn't asking for multilingual recipes, it is saying the site is broken on install.
@bondd are you seeing the same as #3573892: Version mismatch error on fresh install of Drupal CMS when installing in a language other than English? Or if not, what error are you seeing?
Comment #5
bondd commentedLooks like same error as in mentioned issue. But it applies not only to German localization, but also to any language other than English.
And... after some investigation on recipes I discovered "root" of problem.
In recipe we add canvas components with language bounded versions.
recipes/drupal_cms_starter/config/canvas.component.block.system_branding_block.yml
And that's okay.
But when we add content templates and region we (I do not know why) add canvas components not only by their id, but also mentioning exact (language bounded) version.
canvas.content_template.node.page.full.yml
Which makes no sense, because if you choose a different installation language, all content (and components too) will be created in the selected language and will have a completely different version number.
I tried to comment out all "component_version" in content_template and page_region files and after that Drupal CMS install went just fine. And I get working homepage (in English) and working Canvas page builder.
Comment #6
pameeela commented@bondd the strange thing is that I can't reproduce this issue. I will close this as a duplicate to avoid splitting the conversation but as you can see in the comments on that issue, I am able to install any of the site templates in another language and I don't get the errors reported here.
I will add another comment there with more info.
Comment #8
bondd commentedSeems problem fixed in last updates to core-composer-scaffold/core-recipe-unpack