canvas_multilingual
Asymmetric translation support for Drupal Canvas. This module is in beta (1.0.0-beta1).
Drupal Canvas does not currently support multilingual sites. When URL language prefixes are configured (/en/, /es/, /ca/), the editor fails to load, translations overwrite each other on save, and CSS assets return 404s. This module fixes these issues and adds a language selector to the Canvas editor.
Features:
- Language-aware API resolution: Canvas editor loads correctly with URL language prefixes
- AutoSave translation safety: editing one translation no longer overwrites sibling translations
- Translation deletion support: deleting a non-default translation works correctly
- Automatic translation creation when opening the editor in a new language
- Preview title fix: prevents AssertionError on translations with empty title
- Translation add guard: redirects instead of erroring on duplicate translations
- Language selector dropdown in the editor UI
- CSS asset 404 workaround for language-prefixed URLs
The long-term goal is to contribute these fixes directly to Canvas core.