martinroob / ngx-i18nsupport

Some tooling to be used for Angular i18n workflows
MIT License
283 stars 69 forks source link

Flag to keep manually added translations #160

Open ricardosaracino opened 4 years ago

ricardosaracino commented 4 years ago

I would love to see a flag to keep translations manually added from .ts files (via $localize'test'). Maybe it could be flagged with the datatype <trans-unit id="4273316163716213798" datatype="manual">

image

mitevdev commented 4 years ago

This is what the parameter "removeUnusedIds" is for.

ricardosaracino commented 4 years ago

This is what the parameter "removeUnusedIds" is for.

Fair.. but the use case would be to remove unused strings generated from source <tag i18n>, but keep manually added stings to the file.

This is the problem im trying to solve so it might not be an issue in future versions. (I did work around it)

https://stackoverflow.com/a/60724920/338456

mitevdev commented 4 years ago

This is not implemented yet.

Sent from my iPhone

Am 06.05.2020 um 18:08 schrieb Ricardo Saracino notifications@github.com:

This is what the parameter "removeUnusedIds" is for.

Fair.. but the use case would be to remove unused strings generated from source , but keep manually added stings to the file.

This is the problem im trying to solve so it might not be an issue in future versions. (I did work around it)

https://stackoverflow.com/questions/60167454/angular-9-localize-not-working-with-configuration-de/60724920#60724920

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.