Provide a TMGMT source plugin
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3554005. --> Reported by: [claudiu.cristea](https://www.drupal.org/user/56348) Related to !71 !74 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The curated list of strings should be available also for TMGMT translation pipeline.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Create a TMGM source plugin:</p> <ul> <li>Name: "Babel"</li> <li>Machine name: <code>babel</code></li> <li>Class name: <code>BabelSource</code></li> <li>Item types: Provide only one item type: "Default" (machine name: "default"). Note: Normally we can provide types for each Babel plugin but it has no relevancy to the non-technical translator who because they are not able to understand why strings are grouped this way</li> <li>Only active strings are available for translation (same as for file export)</li> <li>How to handle plurals? I see they are not handled in any way by plugins shipped by TMGMT, see <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-8"><a href="https://www.drupal.org/project/tmgmt/issues/3027350" title="Status: Needs review">#3027350: Support for plural strings (locale source)</a></span></li> </ul> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>None.</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>None.</p> <h3 id="summary-api-changes">API changes</h3> <p>New TMGMT source plugin</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>None</p>
issue