Is post_action_types.inappropriate.title a non-used translation key?

(Anton) #1

In server.en.yml, there is a key post_action_types.inappropriate.title
Is it used and if so then where?

The flag popup uses different translation keys:

Translating takes a lot of time, so if there are unused keys, it would be really beneficial for us, translators, if such keys were identified and removed regularly from the translation YML files (could be done automatically?)

(Régis Hanol) #2

Unfortunately, identifying unused keys can’t be done automatically due to keys being interpolated at runtime. But we’re more than happy to remove unused keys :wink:

(Anton) #3

So, analyzing the codebase is the only way to find out if a key is used or not?
I mean, no way for translator to detect such keys and report to devs?