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_page and core.base_field_override.canvas_page.canvas_page.components.
  • Its install: list is only language, 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

  1. Apply the Varbase Internationalization Base recipe from 1.0.x-dev on a Drupal 11.4 site.
  2. Add a second language at /admin/config/regional/language.
  3. Create a Drupal Canvas page and open its Translate tab.
  4. No Canvas page translation user interface is offered, because canvas_translate is not installed.

Proposed resolution

  1. Add canvas_translate to the recipe install: list.
  2. Add "drupal/canvas_translate": "~1" to the recipe composer.json require.
  3. Grant the translate canvas content permission 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

Command icon 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

rajab natshah created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes

  • rajab natshah committed e6f2300a on 1.0.x
    feat: #3619859 Install the Canvas Translate module by default
    
rajab natshah’s picture

Issue summary: View changes
Status: Active » Fixed
Issue tags: +varbase-11.0.0-rc4, +varbase_i18n_base-1.0.0-rc4

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rajab natshah’s picture

Issue summary: View changes
Issue tags: -varbase-11.0.0-rc4 +varbase-11.0.0

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.