i18n-manager icon indicating copy to clipboard operation
i18n-manager copied to clipboard

Duplicated Items - make able to disable it for single entries

Open xstable opened this issue 4 years ago • 7 comments

Sometimes it's perfectly fine, if Entries are dublicated in two languages. For example: The name of an App:

image

Would be great, if you could add a functionality to disable the "warning" manually for single entries. This would give an better overview for entries which are e.g accidentally still not translated.

xstable avatar May 01 '20 11:05 xstable

But this would result in a temp file for just these things, creating trash in the disk. Don't know if that feature would be widely used, because it would be for only a few numbers of keys.

gilmarsquinelato avatar May 01 '20 11:05 gilmarsquinelato

I vote for it. It is even worse. In some languages the translation is identical. I have too much "false" negatives in the project. The settings could be saved in a separate folder.

bmarotta avatar May 09 '20 22:05 bmarotta

So for this feature, should we disable for the whole key, or for specific languages inside the keys?

gilmarsquinelato avatar May 10 '20 10:05 gilmarsquinelato

For the first implementation I think it is enough to disable it for the whole key. If any of the translations for the key is changed, then the check is re-enabled and must explicitly disabled again.

bmarotta avatar May 11 '20 20:05 bmarotta

I think that it could be a toggle in the context menu, that only enable/disable by clicking on it. Maybe "ignore checks", that it will ignore missing and duplicated items. If the user changed, he will eventually change both keys, making it not required to re-check.

gilmarsquinelato avatar May 11 '20 23:05 gilmarsquinelato

In the case, you introduce a new language, resetting the ignores is needed.

bmarotta avatar May 12 '20 06:05 bmarotta

So we should ignore the languages inside the keys, not the whole key.

gilmarsquinelato avatar May 12 '20 08:05 gilmarsquinelato