Problem/Motivation
The recipe already makes Drupal Canvas pages translatable, but the module that provides the Canvas page translation user interface is never installed.
- The recipe ships the config actions
language.content_settings.canvas_page.canvas_pageandcore.base_field_override.canvas_page.canvas_page.components. - Its
install:list is onlylanguage,locale,config_translation,content_translation,eca,eca_language. - A site applying the recipe therefore gets the translatable configuration without the tool that uses it.
Steps to reproduce
- Apply the Varbase Internationalization Base recipe from
1.0.x-devon a Drupal 11.4 site. - Add a second language at
/admin/config/regional/language. - Create a Drupal Canvas page and open its Translate tab.
- No Canvas page translation user interface is offered, because
canvas_translateis not installed.
Proposed resolution
- Add
canvas_translateto the recipeinstall:list. - Add
"drupal/canvas_translate": "~1"to the recipecomposer.jsonrequire. - Grant the
translate canvas contentpermission to the four roles the recipe already grants other translation permissions to:user.role.content_editor,user.role.content_admin,user.role.seo_admin,user.role.site_admin.
Risk for the maintainers to decide on: Canvas Translate is at 1.0.0-alpha4. Installing an alpha release by default in a distribution recipe is a real risk and needs an explicit decision, not a silent addition.
Context: TMGMT and Canvas page translation landed in 1.0.0-rc2 via #3618242. An earlier attempt to add the different Canvas Multilingual module was reverted and closed as won't fix in #3588171.
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ❌ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support
- ➖ User Guide Documentation support
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Credit contributors
- ❌ Review with the product owner
- ✅ Update Release Notes
- ✅ Release varbase-11.0.0, varbase_i18n_base-1.0.0-rc4
User interface changes
- A Canvas page translation user interface becomes available on the Translate tab of Drupal Canvas pages.
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Install the Canvas Translate module by default, so Drupal Canvas pages can be translated out of the box.
AI-Generated: Yes
Issue fork varbase_i18n_base-3619859
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
rajab natshahComment #5
rajab natshah✅ Released varbase_i18n_base-1.0.0-rc4
Comment #7
rajab natshah