department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
96 stars 70 forks source link

XLIFF file name enhancements #12795

Open timcosgrove opened 1 year ago

timcosgrove commented 1 year ago

Acceptance criteria

Background

By default the filenames generated by TMGMT for XLIFF files contain only the job id and the languages in question, for example "JobID15_en_es.xlf". This helps the user correlate the XLIFF file with the job it comes from. However, it will be useful to provide more information in the filename.

We should add label and date to the filename. Note that the label is not required; we should make that required, as the auto-generated labels can be very long.

Labels should be run through Drupal's standard machine name transliteration in order to generate a valid file name.

timcosgrove commented 1 year ago

This is not part of MVP.