daniel-sc / ng-extract-i18n-merge

Extract and merge i18n xliff translation files for angular projects.
MIT License
170 stars 18 forks source link

Feature: new sort option "contextAsc" #113

Open aberonni opened 1 month ago

aberonni commented 1 month ago

Is your feature request related to a problem? Please describe. We are trying to use auto-generated IDs and organise our translation files by context (kind of like how the default extraction works). In this setup, it helps to have the tags organised by context rather than by ID or addition date.

Describe the solution you'd like A new sort option, "contextAsc", which just sorts the contents of the location string, eg:

<note category="location">src/app/components/page-layout/components/header/header.component.html:83</note>

daniel-sc commented 1 month ago

hi @aberonni this seems like a meaningful enhancement! Would you like to give it a shot and create a PR?

Remarks: