Gleb Mazovetskiy
Gleb Mazovetskiy
Do you mean incorrect `%{interpolations}`? It would be possible to detect this, but first the AST parser would need to be implemented for view files (currently it only supports `.rb`...
i18n-tasks doesn't provide this at the moment, but this is a useful feature to have and I would merge a PR implementing it.
> Maybe this is because we have blank keys? I don't think so, I've added a test in https://github.com/glebm/i18n-tasks/commit/4c83cf358b7d7958a0b7a09f32cda754536c321b and it didn't fail. See https://github.com/glebm/i18n-tasks/commit/fc529e78d2421ad08e7a93c0164e5d0be1492e40 for where this is handled
Yeah that isn't currently supported
You can run `i18n-tasks` under a profiler, such as [rbspy](https://github.com/rbspy/rbspy) or [ruby-prof](https://ruby-prof.github.io/), to identify where it is spending all this time
Install rbspy per these instructions https://rbspy.github.io/ Then, run: ``` rbspy record bundle exec i18n-tasks health ```
@manaka Please file an issue in https://github.com/whitequark/parser/ > More readable: gist.github.com/manaka/34c15488d22bfab383bc9fcb1fd26820 I've edited your comment to use triple backticks instead of a single backtick and now it's readable here as...
One option would be to treat even text translations as XML. We'd need to HTML-escape them before sending to DeepL. With XML translations, DeepL supports this natively.
That sounds useful, feel free to send a PR!
I would accept a PR that adds this.