Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure all Paragraph types are translatable [3h] #738

Open
amitaibu opened this issue Oct 24, 2024 · 1 comment
Open

Ensure all Paragraph types are translatable [3h] #738

amitaibu opened this issue Oct 24, 2024 · 1 comment
Assignees

Comments

@amitaibu
Copy link
Member

https://www.drupal.org/docs/contributed-modules/paragraphs/multilingual-paragraphs-configuration#s-explanation

All paragraph types must be marked as translatable, including container paragraph types that only have an untranslatable paragraph field for nested paragraphs. Otherwise it is not possible to translate nested paragraphs in these fields.

Todo

  1. Ensure all paragraph types are translatable
  2. Let's add a hook that, upon creating a new Paragraph type, forces it to be translatable.
@dipakmdhrm
Copy link
Collaborator

Testing instructions

Make all paragraphs types translatable

Navigate to /config/regional/content-language. All paragraphs (except search) should already be translatable.

Let's add a hook that, upon creating a new Paragraph type, forces it to be translatable.

  1. Create a new paragraph type and add the following fields to it:
    1.1. Text field
    1.2. Term reference field
    1.3. Content reference field
    1.4. Paragraph reference field
  2. Navigate to /config/regional/content-language.
    2.1. The checkbox to make this new paragraph type should already be checked.
    2.2. The following should be unchecked for this new paragraph type:
    2.2.1. Checkbox to make 'Published' translatable
    2.2.2. Checkbox to make 'Authored on' translatable
    2.2.3. Checkbox to make paragraph reference field translatable.
    2.3. The following should be checked for this new paragraph type:
    2.3.1. Checkbox to make the text field translatable.
    2.3.2. Checkbox to make the term reference field translatable.
    2.3.3. Checkbox to make the content reference field translatable.

@dipakmdhrm dipakmdhrm assigned amitaibu and unassigned dipakmdhrm Nov 19, 2024
@dipakmdhrm dipakmdhrm assigned dipakmdhrm and unassigned amitaibu Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants