nomis51 / Menagerie

A Path of Exile enhancement trading tool
Other
27 stars 2 forks source link

Feature: Chat translation #19

Closed nomis51 closed 2 years ago

nomis51 commented 3 years ago

You set your langage in the settings, for example English. (Note I use English here, but the goal is to be able to translate any langage to any langage). Then, in-game, if you encounter some peoples that doesn't speak English in the chat (e.g. whisper, party, trade, etc.), you can click the "Translate" button and the chat content is going to be translated to English, if possible, and as accurately as possible.

It happens really often to me that after the initial "trade whisper", I need to talk to the other player, and there's then a langage issue. Considering that we can't select text in chat, it's makes this very tedious.

So goal here, is to have a quick and easy way to translate any input/output message (Yes also, automatically translate the message you send to the appropriate langage) in the chat automatically when needed, instead of having to open the web browser, open Google Translate, copy/paste text here and there, and even open the Client.txt log file of PoE to be able to copy other players messages to be able to translate it in Google Translate.

nomis51 commented 3 years ago

Here is a first look at the chat translator.

image

So you can see here the in-game chat with a draggable/movable "Virtual Chat" on the overlay that is basically reproducing the chat,. but with translations. You can see the actual translated message, with the original one highlighted in yellow.

Input langages are automatically detected, the "output" langage will be set in the Settings.

nomis51 commented 3 years ago

Here's another follow up on the chat translator.

Langage I use in this example is English.

Below, you receive a message from someone that's is not using your langage. So you translate it with the app.

1

Now, that you understand what the other player was saying you can send him an anwser directly from the Virtual Chat that has now associated the "French" langage to the other player automatically, so your message is going to be translated to French before it get send into the in-game chat.

2

Notes:

nomis51 commented 3 years ago

Another thing I'm going to add is a "translate-on-demand" feature, similar to the "Run command" functionality we have on Linux OS.

You basically click/hotkey the feature, so the input field show up. You select the target langage, write your message in the box (doesn't matter if it's a globa/party/whisper/etc. message), then click the Send button to translate it and send it in-game.

Here's an example :

3

That's going to be usefull for any "out of context" situations like :

nomis51 commented 3 years ago

That last feature : "translate-on-demand" has been added to the app in version 1.4.0.