tolgee-platform icon indicating copy to clipboard operation
tolgee-platform copied to clipboard

Check duplicate messages

Open douglasgomes98 opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe. See messages that are already duplicated and also not add new ones

Describe the solution you'd like 1 - Filters to perform the search 2 - Alerts when importing messages and creating them

douglasgomes98 avatar Jul 08 '24 19:07 douglasgomes98

Yeah, sounds like it could be a good feature.

stepan662 avatar Jul 09 '24 07:07 stepan662

I think it's a double-edged sword; avoiding duplicates can be good but also can lead to apps that cannot be properly translated: a given word/sentence can be the same for 2 different contexts in lang A, but not in lang B. Even with workarounds, it remains difficult to refine translations and/or introduce new languages that don't have such workarounds available

Default-string-as-key is considered bad for this reason; strings no longer have any context tied to them 🤔

cyyynthia avatar Jul 09 '24 07:07 cyyynthia

@cyyynthia is right. We recommend against recycling keys exactly for the described reasons.

JanCizmar avatar Jul 22 '24 05:07 JanCizmar

I understand, in my scenario we have several apps with duplicate i18n messages between them, so we are migrating to the to remove the duplicate keys and be able to have a single point of truth.

douglasgomes98 avatar Jul 22 '24 13:07 douglasgomes98

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 22 '24 01:08 github-actions[bot]