Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Raphyyy opened this issue Jan 26, 2022 · 2 comments
Open

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

Raphyyy opened this issue Jan 26, 2022 · 2 comments

Comments

@Raphyyy
Copy link

Raphyyy commented Jan 26, 2022

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.

@kyubisation
Copy link
Owner

I'll take a look at this.
However, I cannot promise any timeline right now, as I'm fairly swamped with work.

@Raphyyy
Copy link
Author

Raphyyy commented Jan 26, 2022

No problem, thank you for considering it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants