What's new

ArcheRage chat translator

Oturan

New Member
Hello, I would like to share with you my chat translator.

It works with every language version of the game.
Available translation languages are:
"English EN, Polski PL, 中文 ZH-CN, Українська UK, Français FR, Español ES, Português PT-BR, Türkçe TR, Русский RU".

A few pieces of information:

The translator was written in PowerShell and is an open-source script (you can view/edit the code).
If the program doesn't run, first check what version of PowerShell you have on your computer; for Windows 10, it's version 5+ by default.
Tested on Windows 10 x64.
The API used for translation is Google, so translations may not always be perfect ;)
The Google API may not be available in every country and may not work without a VPN.
The Chat.log file from the (My Documents) folder is used for translation.

Screen:
Screenshot.png


Instructions:
  1. Download and extract to any folder.
  2. Run launch.bat.
  3. Choose your preferred language.

  • To use youdao.com translator API you need to register on the website and generate APP_KEY and SECRET_KEY
  • put them in "config.txt" file.
    appAPIkey
    appAPIsecret

    example:
    appAPIkey=a1a1a1a1a1a1a1a1
    appAPIsecret=B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2

    Remember that it has limits and may require payment to increase them
    If you see API ERROR CODE: 411 => [Access frequency is limited, please visit later]

License:
I allow modification and further sharing of the script, but please keep the information about the original author :)

Support:
If you like my work, you can send me a donation ;)
RU server: "Otu"

Edit:
version 1.6
-added global chat

version 1.5
-added opacity setting
-added always on top setting
-added app window size changed
-added remember last size, position, opacity, most top
-added font size in chat window (only in config.txt)
-one config file now

version 1.4
-optimization of the number of queries to the translator's API.

version 1.3
-added youdao.com translator API (for Chinese) still default is google.com
-added Español ES language to the translator

version 1.2
-deleted line "BackupNameAttachment="
-added color for "Commander" chat
-added save last used language
-added automatic translation at program start (if last used language is saved)

version 1.1
-added Português PT-BR language to the translator

Bugs:
Please report any bugs in this post and I will try to fix them.
Do not report bugs if you have modified the code and "something doesn't work".

virus scan:
https://www.virustotal.com/gui/file...xNGQyOTdkNGRjOGUwNGY0YTQ4ODk6MTY4Mjk2OTIyOA==
 

Attachments

  • ArcheRage chat translator.zip
    8.1 KB · Views: 790
Last edited:
Testing this now. As someone who tries to use google translate on my phone or yandex to translate chat, this seems SOOOO much easier.
Edit: This works and is great!!
 
Last edited:
This work wonders, i love it. Its missing Commander chat color btw. Tweaked it in on my end with color #FA7A1C, seems to be a close match
 
It would be nice if he could automatically use the default language when he logged in
By the way, it doesn't work in Chinese because the Internet in China doesn't reach Google directly
To use the game you need to start a vps but which vps only speed up the game
 
This work wonders, i love it. Its missing Commander chat color btw. Tweaked it in on my end with color #FA7A1C, seems to be a close match
added


It would be nice if he could automatically use the default language when he logged in
By the way, it doesn't work in Chinese because the Internet in China doesn't reach Google directly
To use the game you need to start a vps but which vps only speed up the game
Thanks for the idea, added
 
First of all, thank you for what you bring to this beautiful community, but will it be possible to add the Spanish language?
 
First of all, thank you for what you bring to this beautiful community, but will it be possible to add the Spanish language?
I will add this language in the next update. Until then, you can edit the "lang.txt" file for:
lang="es"
this will give you a Spanish translation
 
new update 1.5 is available
now it can be used as an overlay
 

Attachments

  • translator.png
    translator.png
    850.2 KB · Views: 344
Fantastic stuff! Going to take a look at it and try it, since I'd made my own without realizing someone on the NA servers had. I know this is an old thread and you might not be browsing these forums anymore, but if the program is still working I'd like to forward it over to the EU server forums.
Also a silly question, but what would you say is a preference for Youdao over Yandex or DeepL API? I was thinking of adding a similar function to my own - if I make any adjustments to my own version, I'll make sure to include credit for you and your work. <3

EDIT: Apologies for the uneducated question, but I'm trying to adjust things where I can use my DeepL API key. I figured it wouldn't be as easy as replacing the YouDao lines with "https://api-free.deepl.com/v2/translate", as I'm unsure if they use a secret or not. Would you have any idea how I'd adjust the code for that? I'm looking into things and wondering if more whole code would have to be added. I'm still relatively new to coding (strictly python, but your code doesn't seem to be coded inPython I think) so I'm mostly poking around in the dark when I look at stuff like this: https://stackoverflow.com/questions/61779135/how-to-make-a-python-request-to-deepl-api

Pythontranslator = deepl.Translator(os.getenv("DEEPL_AUTH_KEY"))
.NET`var authKey = "f63c02c5-f056-..."; // Replace with your key var translator = new Translator(authKey);`
 
Last edited:
I added Japanese as a language option.

Hit me up on discord or here if you want other languages as well.
 

Attachments

  • AR Chat Translator.zip
    8.7 KB · Views: 27
Back
Top