Open laurelthrash opened 1 year ago
@sarinapadilla @andyvanavery - we will need to define the behavior in the WYSIWYG for all media types (not just images) and will want to pull in @lburack once ACs are created to review/verify. Cc: @kate-mashkina @santwuma
@KateMashkinaNIH , @laurelthrash , @santwuma , @navsunka , The English image is appearing in the WYSIWYG of Spanish translation. The caption also does not get Spanish translation text in the WYSIWYG. Currently, Image credit is the only item that is getting translated in the WYSIWYG of Spanish translation on ODE 545. https://ncigovcdode545.prod.acquia-sites.com/espanol/about-cancer/coping/feelings/test-and-test-article-trans-image
The lead image gets the Spanish image and Spanish Caption and Spanish credit as expected.
The following scenario is failing for WYSIWYG in the Spanish translation:
Seems fixed from Claro update - no longer an issue. @laurelthrash and @lburack and Lindsay to validate before closing ticket.
@laurelthrash and @lburack could you please review if this ticket can be closed?
@andyvanavery31 I tested the above on ACSF-dev using the "Steps to reproduce desired functionality" in the description and do not believe this issue is resolved. Cc: @lburack
Steps At step 5, when I translate the Article to Spanish, the image that appears in the WYSIWYG still reflects the English image. However, the word "Caption" is translated to "Fuente." See screenshot:
The lead image automatically pulls the Spanish/translated image information, as desired. See screenshot:
The page results in the following, for both the preview and after the page is published. See screenshot:
Issue Description
It is desired that when you translate a content type in Drupal, that any images embedded on that content type using the WYSIWYG would automatically pull the translation for that image (including when the Spanish image file is different than the English image file). This issue was discovered during Drupal training on 03/31/23.
Of note, it is outlined in our Wiki (https://github.com/NCIOCPL/cgov-digital-platform/wiki/Common-Fields-WYSIWYG#notes-for-translations) that what is occurring now is expected behavior. This change request is to modify the behavior so that Drupal automatically pulls the Spanish version. Items for consideration:
What's the expected change?
What's the current functionality?
Steps to reproduce desired functionality
What's the updated acceptance criteria?
Additional details / screenshot