Layout tab missing on node translation

Created on 22 May 2019, almost 6 years ago
Updated 13 January 2025, 3 months ago

I don't seem to understand how this module should work. The following is what I'm doing:

1. From a clean installation of 8.7.1 and Layout Builder Asymmetric Translation 2.1.
2. Enable LBAT, Layout Builder, Layout Builder Discovery, Language and Content Translation.
3. Add Spanish language.
4. In Content Types | Article language settings, set Show language selector on create and edit pages and Enable translation to TRUE.
5. Create a custom block with a body that just says "In English." Leave language selection untouched.
6. In Content Types | Article | Manage Display, set Use layout builder and Allow each content item to have its layout customized to TRUE.
7. Create a new article, keep language as English.
8. Click node/1/layout and add the "In English" custom block above.
9. View node 1 and see the block.
10. Add a Spanish translation of Article node 1 via node/1/translations.
11. Click /es/node/1/edit and change the text to show some Spanish. Save.
12. The view shows the In English block.
13. Notice that there is no Layout tab there.

Expected Result
If I understand the purpose of this module, isn't there supposed to be a Layout tab that I can access via /es/node/1/layout that will be different from the one at /node/1/layout?

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇺🇸United States aangel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India babu ankaian

    Hi,

    I am new to Drupal 11 and working on implementing the Layout Builder for the "blogs" content type on my website. The setup works fine for the default language (French). However, the Layout tab is missing for other languages, such as German (de).

    To resolve this, I installed the Layout Builder At module and followed the provided instructions. After installation:

    The Layout tab became visible for other languages.
    I was also able to add content for each language individually.

    The issue arises when I retrieve the REST API response. The API returns content for all languages in the same response, instead of separating them by language.

    Could you please guide me on how to resolve this issue?

    Thanks in advance for your support!

Production build 0.71.5 2024