Skip to content

Python program to translate chat in real time to the desired language.

Notifications You must be signed in to change notification settings

ils94/LOTROChatTranslator

Repository files navigation

LOTRO Chat Translator

A simple Python program that uses the Google Translate API to translate your The Lord of the Rings Online (LOTRO) chats in real-time.

Tutorial

For this to work, you will have to enable Chat Timestamps in the game settings.

Step 1: Enable chat logging

Right clicking the desired chat tab: Chat Logging - Start Logging.

Step 2: Open LOTRO Chat Translator

Launch the LotroChatTranslator.exe:

Screenshot of LOTRO Chat Translator interface

Step 3: Understand the Interface

  • Common Chat: Translate chats that are not IMs, such as World, Fellowship, Kinship, etc.
  • IMs Chat: Translate only Instant Messages (IMs).

Screenshot of chat selection options

Step 4: Set Up the Log File Path

  • Path to the log file: Paste the path to your log file.txt or click the "Browse" button to use Windows File Explorer and select your log file.

Step 5: Configure Language Settings

  • Chat: Choose the language you want the chat to be translated into.
  • Translator: Select the language for translating what you type in the Translator box.
  • Translated Text: The translated text will appear here. You can then use Ctrl + V to paste it directly into LOTRO chat—no need for manual copying.

Step 6: Save Your Settings

Once you’ve set up your languages and log path, go to Menu -> Save Settings. The translation process will then run in a loop, translating all new messages logged in the file.

Screenshot of save settings

Result

Here’s what the translated text will look like:

Screenshot of translated chat

Download

You can download the tool from the following link:

Download LOTRO Chat Translator

Video Demo

Video demonstration: Watch Demo

About

Python program to translate chat in real time to the desired language.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages