Atreplace - v1.3.0
Hello everyone,
after a very long time I finally managed to get this done. I wanted to have this since at least 2019...!
Atreplace is an addon that lets you use autotranslate strings in binds, aliases, scripts, etc. It works by monitoring your chat inputs for certain strings, and replacing them with the proper autotranslate terms.
There is no need to use the commands from the addon: just wrap your desired term with _() and the addon will replace it with the correct string, if the string exists. There is no limit to how many autotranslate terms you can put in a specific string (only a limit to how long a line of text can be in general)
Since, as usual, an image is worth 1000 words, here's how it works:

This means that, as long as this is loaded, you can do stuff like
Code
bind %p input /shout _(galka) _(can I have it?)
Any kind of inputted text is supported, so aliases, binds, send_commands, scripts, lua scripts, really anything goes.
Please note: it is case insensitive, but punctuation must be respected or the addon won't find the term.
Addon commands:
While the autotranslate function does not rely upon commands, the addon supports a find function, like this://atreplace find good
or
//atreplace search good

To-do:
- Make it ignore punctuation. I thought about it already, but there's stuff like "Reward:" and "Reward" which are different strings and I wanted to publish the addon before thinking of the best way to deal with that, so for now please be exact with your ., !, and ?.- Make the placeholder string easily customizable.
While I am releasing this from my own repo for now, the plan is to have this added to the windower launcher eventually - possibly. Just so you know.
Download
from my github: https://github.com/lili-ffxi/FFXI-Addons/tree/master/atreplaceSupport
here in this thread, or on my discord server: https://discord.gg/uBPg7quNxDThanks to Arcon for being the most helpful pistachio, and to all the people who tested this for me.
And on a final note, as usual: USE THIS AT YOUR OWN RISK, I did my best to make sure it copied client behavior 100% but it's entirely possible you do something I could not come up with on my own (nor the testers), and you send malformed strings that crash your client or get you banned. This is all provided AS-IS and I take no responsibility.