Skip to content

Feature: Auto merging trans-unit with same text #11

Description

@Raphyyy

Hello,

First of all thanks for your work, I started using this tool since https://github.com/martinroob/ngx-i18nsupport is no longer maintened and it works like a charm.

One feature I am missing is the auto-merging of trans-units with the same text into one trans-unit.
While ng extract-i18n manage to generate only one trans-unit for all occurences of the same text in templates, it is not doing the same if one occurence come from the $localize function.

However, manually merging those trans-unit in the translated .xlf files seems to work.

I guess that if no custom ID, description or meaning has been defined for both trans-units with the same source text, it should be auto-merged.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions