Last week I installed the TermInjector plugin.
I read Paul Filkin's article + user comments (https://multifarious.filkin.com/2012/08/31/terminjector/).
I watched Paul's video tutorial as well (https://www.youtube.com/watch?v=Avi4KLpIgCI&t=321s).
And last but not least, I read, printed, studied and annotated the plugin's author's documentation page (http://www.tntranslations.com/TermInjectorHelp.html).
In my case, L1 is French and L2 is English. I am trying to use the Term Injector to inject a different date format.
Here's what I'm trying to achieve and the template rule I came up with:
Here's the content of my .txt file:
As for the actual steps, here's what I did:
I basically followed all the steps given in the author's documentation and Paul's video.
But, after going over the rule I created and the steps to lauch and use TI, the result is still this:
No dates injected in the target segments!
I went over the expressions in my rule (all three fields), redid all the steps, but still no success.
I tend to think that my mistake(s) must be with the rule because I only started recently to learn
about regex and fiddle with them.
How can I make this work?
I don’t use the app, but I believe you need to change your third field to be something like this:
I mean: the third field (Replaces) should be the same as the first field (Source), although parenthesis can be deleted, I believe…
Target field is fine as it is.
PS: If you get stuck, you can try another app:
Regex Match AutoSuggest Provider
It uses a different approach (AutoSuggest) that can be useful.
I hope it helps,
… Jesús Prieto …
Thank you for your reply.
When I saw your suggestion, I thought "Of course, that's the solution, that will work now".
So I changed my .txt file accordingly and it now looks like this:
So I had another go,... and it didn't work.
I will try to read some more and experiment.
I would really like it to be able to use it successfully because, in contrast to REGEX Match AutoSuggest Provider
(which I already use and like very much), it does its magic even before you start typing in the target segments.
Thanks for your suggestion again.