Closed wesrowe closed 2 years ago
Original PR: https://github.com/department-of-veterans-affairs/va.gov-cms/pull/10123 Closed for new PR.
Draft readme for this product and what the demo will show: https://github.com/department-of-veterans-affairs/va.gov-team/tree/master/products/content-localization/translation-recommendation-project/2022-continuation-by-public-websites
Note: Focus is on the translation permissions and workflow, as understood by the acceptance criteria:
Member of Content team creates draft version of node translation Only VA Product Owner can publish
In July 2022 Dave Conlon asked the Public Websites team to pick up the topic of translation architecture. We started with understanding the prior work and demo environment left behind by the previous group, including Adam Whitlock.
This folder is intended to house documentation of the resumed investigation.
Demo location: https://tugboat.vfs.va.gov/63323c939e6d29933cfdb403
[TBD: demo user]
Steps to translate: With the "Content translation - Spanish" role:
Go to any Resources & Support content or create a new Resource and Support page.
Go to the "translate" tab and choose "Add" next to "Spanish" then save the node.
Translator may edit any field that is shown for that node to Spanish, manually.
Translations are saved as Draft only.
Users with the role to approve or publish content can change the workflow moderation state from Draft to Published.
Bonus: The interface (Drupal CMS form) is also translated to Spanish in some places.
New languages for Drupal core can be downloaded and then imported: https://localize.drupal.org/
Filipino is available but not Tagalog
Core module responsible for translation: https://www.drupal.org/docs/multilingual-guide/translating-content
This demo is based on work in previous, older demos, but it is unclear what value remains. Many of those configs were undone in the commits here and the work outlined in steps below for how to replicate this work should stand alone. Either way, history is in tact in case there are any gotchas.
va.gov-cms/docroot/modules/custom/va_gov_backend/va_gov_backend.module
) restricts editor permissions to single language translation only.This probably needs more work.
Description
In a world where translations are built using core translation modules in Drupal:
As a Sitewide Content owner, I want nuanced permissions to allow me final publishing control over translated content while enabling others to prepare the translations so that we can balance efficiency and quality control.
Use case
Additional Context
The future of how this could work is configured in a Tugboat instance: Demo instance
Acceptance Criteria
CMS Team
Please check the team(s) that will do this work.
Program
Platform CMS Team
Sitewide Crew
⭐️ Sitewide CMS
⭐️ Public Websites
⭐️ Facilities
⭐️ User support