Problem/Motivation

The XLIFF file export in tmgmt does not provide the default string. The string ID by itself is hard to interpret for translators.

Steps to reproduce

1. Install string and string_tmgmt for translation management.
2. Export any string as a XLIFF file for the translation job.
3. Inspect the XLIFF file and find no indication of the default string.

Proposed resolution

Use the #label in the translation job to indicate the default string. Use the translation source plugin provided by the string_tmgmt module.

Remaining tasks

Not clear how to provide context in this scenario.
May requires dependency injection.

Issue fork string-3458202

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

simonbaese created an issue. See original summary.

simonbaese’s picture

Issue summary: View changes
Status: Active » Needs review

  • d34dman committed 7f971fa8 on 1.x
    Issue #3458202: Add missing use statement
    

  • d34dman committed 67ba8862 on 1.x
    Issue #3458202: Provide default string as note in string_tmgmt XLIFF...
d34dman’s picture

Status: Needs review » Fixed

Thanks for the contribution @simon, and sorry for the late response.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.