Atreplace - Autotranslate In Scripts And Aliases.

Language: JP EN DE FR
New Items
2025-06-12
users online
Forum » Windower » General » Atreplace - Autotranslate in scripts and aliases.
Atreplace - Autotranslate in scripts and aliases.
VIP
Offline
Posts: 960
By Lili 2025-01-01 12:28:46
Link | Quote | Reply
 

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?)
and then you can just push the P key on your keyboard to shout to your heart's content.

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/atreplace

Support

here in this thread, or on my discord server: https://discord.gg/uBPg7quNxD


Thanks 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.
[+]
necroskull Necro Bump Detected! [36 days between previous and next post]
VIP
Offline
Posts: 960
By Lili 2025-02-06 15:26:14
Link | Quote | Reply
 
Released 1.4.3!

- FIXED: bugs in find/search function that would give no resuls if too many results were found
- FIXED: find/search is now properly case insensitive
- ADDED: "//at copy" command, lets you copy an entire string in the clipboard - same format as everything else

Known issues:
- some items do not copy the proper string when using the //at copy command. Others do. ¯\_(ツ)_/¯

Grab it from github.
[+]
Log in to post.