-
Notifications
You must be signed in to change notification settings - Fork 40
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 #739
base: main
Are you sure you want to change the base?
Conversation
This is slightly complicated. This means we'll have to do the following:
While looking into this I came across the following error when trying to manually enable translations for a node type with no fields:
The code in content_translation_form_language_content_settings_validate doesn't describe why this is needed. |
If the hooks are complex, we can skip it -- and only form alter the form, so the checkbox is checked and disabled.
We should prevent that. https://www.drupal.org/docs/contributed-modules/paragraphs/multilingual-paragraphs-configuration
|
99918ac
to
8d4b7ba
Compare
What is the page shown in #739 (comment) - field translation ? Is it correct? Shouldn't we not translate those fields? |
@amitaibu According to the drupal.org documentation, we shouldn't translate the paragraph reference fields, but we should translate other fields. I've added the form alter to do the same. |
Thanks. Ready for review? Needs a re-roll |
d9b9633
to
35920bb
Compare
Done. This is ready for review. |
Thanks, Please indicate how to QA |
Testing instructions
Navigate to
|
@aleksbelousovqa please test this. You can create a new Drupal-starter instance by going to https://github.com/Gizra/drupal-starter/pull/739/files and clicking here and creating a new Codespace. Once the installation is complete (takes about 10 minutes), you can use |
@dipakmdhrm ^^ |
#738
Update
Add hook to make all paragraphs types translatable on creation.