angular-gettext-tools
angular-gettext-tools copied to clipboard
Ignoring extraction when key === value
Our translators seem to have a thing for translating English to English even if they change nothing (maybe they like 100% completion in their tool of choice?).
After extraction, we have something like:
{
"en-GB": {
"Home": "Home",
"Account": "Account",
"Support": "Support"
}
}
We could slap the translators and tell them to remove them all, but think a few would still slip by. I think it'd be great if extraction just did a key===value check and ignored the entry in such a case.
I'm not entirely sure what it is that you are proposing.
Extraction doesn't know anything about translated strings.
Care to shed some light on this?
Apologies for saying extraction. I meant compilation :) when the PO is processed and the JSON is created. Would be good to skip entries where key === value
Oh, right!
Makes sense. One minor thing: this would conflict with the (admittedly rather useless) debug mode.
How come it would conflict? o: