Download
(2MB)
Download
Updated: 04-26-09 12:02 PM
Pictures
File Info
Updated:04-26-09 12:02 PM
Created:04-26-09 12:02 PM
Downloads:4,208
Favorites:5
MD5:

Dictionary

Version: 2009-04-26
by: Firestarter [More]

What

An Addon to translate text from the game to another language.

It includes a window that picks up text from various other windows and events and automatically translates a word when the mouse hovers it. It also includes a chat command to translate words.

Currently it picks up the following text:

  • Quest Log entries
  • Gossip and Quest updates
  • Tutorial tips
  • Items and Spells
  • Tooltips in general
  • Chat messages
  • Buffs and Debuffs

Dictionaries

The Addon requires a dictionary from the source language (the language of the game) to the target language. Currently the following dictionaries are available:
  • German to English
  • German to Portuguese
  • English to Portuguese

NOTE: the Addon zip contains a German to English dictionary. To use another dictionary, download the appropriate file from the Optional Files and overwrite the "dict.lua" file with the new one.

Other dictionary files can be used. I can create more dictionaries, it all depends on your feedback The included dictionaries were generated from others found online with a small Python script, and could be greatly improved.

Install and use

Just unzip the addon into the Addons folder and start WoW. Then type

Code:
/dict word
to translate "word", or

Code:
/toggledict
to show and hide the translation window.

Notes

This is the first version of my first Addon, so I hope you tolerate some missing features and find it useful I created it because I wanted to make something useful of my time spent playing WoW, and I wanted to learn German, so here it is. From my initial experience it is quite usable, but gameplay slows down a lot if you take your time to read everything; your linguistic skills should improve though

Known bugs
  • Sometimes the words are rendered without any spaces separating them
  • I haven't tested Talents, Battlegrounds, AH, ...

Please leave a comment if you find it useful!

Optional Files (0)


Post A Reply Comment Options
Unread 04-29-09, 08:02 PM  
Relic61
A Murloc Raider

Forum posts: 8
File comments: 2
Uploads: 0
Excelent Addon Idea - Excited to test this out

Thank you for your contribution. This is very highly needed where we have so many intermingling languages. Thank you for this. I will test and provide feedback.
Report comment to moderator  
Reply With Quote
Unread 04-29-09, 08:25 PM  
Relic61
A Murloc Raider

Forum posts: 8
File comments: 2
Uploads: 0
I have some quick feedback for you. I like the concept, there are some things I would like to see. Great work btw thank you. Below is some wish list items as well as testing observations.


  1. Window movable and scalable
  2. Font choices
  3. Parse selective channel(s) - ignore selective channel(s)
  4. menu driven under Addons tab via interface options
  5. The text seems to grow backwards? The newest text should be at the top. It seems to be the bottom text is newest.
  6. Language selector via menu
  7. Memory is up there.
This was after 5 minutes
Report comment to moderator  
Reply With Quote
Unread 04-30-09, 02:20 AM  
Firestarter
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 1
Uploads: 4
Hi Relic61, many thanks for your feedback
  1. The window is movable, you can drag if you select the border. I'll try to make it scalable too.
  2. Font choices is a good idea too, will try
  3. Another good idea. I'll try to move the preferences to a separate menu or tab window, and allow to select which events are grabbed, including which channels.
  4. Same as before
  5. I think this is a matter of preference. New text currently goes to the bottom, like in IM windows. The main reason is to prevent new text from getting in your way while you are reading something. There can be an option to change the direction though.
  6. Language selection is also a possibility. I'm not sure if it is possible without loading every single dictionary, which would take a lot of memory, but I'll have a look at this.
  7. Ouch! The German to English dictionary is around 8Mb on disk, and the Lua table must be even bigger. There is no way that I know of to read from disk files, so I believe the dictionary has to be fully loaded on startup... BTW, how go you get that memory stats window? It's a very handy dev tool

Regarding more dictionaries: the dictionaries used to generate the current ones were downloaded from http://www.freedict.org/en/flags-dict-tgz.html. Unfortunately there is no English to Japanese dictionary there I'll try to find some other site with free dictionaries, and any pointers are highly appreciated

Again, many thanks for your feedback, I hope I can find the time to make this more useful
Report comment to moderator  
Reply With Quote
Unread 07-22-09, 01:23 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Interesting idea. For sure these are not traditional "dictionaries", but translation dictionaries such as the Oxford bi/multilingual dictionaries and so on.

Regarding that, two things. First, if you have translation one way, having translation the other way is somewhat expected. Its what all book form translation dictionaries do as do Google translation services and so on. Fortunately, the Freedict site has many translation files that can go both ways on two languages.

Second, could we get an implementation of French-English/English-French?

For loading, yes, you need to load the files the mod uses into memory; you can't read from disc. But...you don't need to load them during logging in, which delays you getting into game when you have large files/databases. Instead, use Addon Loader.

Having the mod load "delayed" (see its documentation) will prevent lag prior to getting into WoW--especially for people running older computers--as the mod and its translation files are not loaded until the user is in the game. You can also specify different loading conditionals in the TOC of Dictionary.

Once you integrate support in Dictionary, you will need to point people to Addon Loader if they want faster logons. Once installed, though, users don't have to worry about it. Its supported by many (many) mods; several on the WowAce site, Curse, here and elsewhere. So people will get bonus use out of it.

For loading certain dictionaries, for sure if a user doesn't need them all, loading them all is a waste. But you can create options in the mod to load certain dictionaries only "Load On Demand" (separate from Addon Loader).

Put the dictionary files into separate folders with their own TOCs. Have the following line in the TOCs: "## LoadOnDemand: 1". Have the mod be able to find and load those files when the user specifies they want them loaded in the mod's options. Can also use Addon Loader to load the dictionary files separately.
Report comment to moderator  
Reply With Quote
Unread 02-05-13, 01:35 PM  
Socratesx
A Murloc Raider

Forum posts: 4
File comments: 1
Uploads: 0
Hi, it is amazing addon! But it doesn't work atm( Can you update it pls? Thanks for your work!
Last edited by Socratesx : 02-05-13 at 01:35 PM.
Report comment to moderator  
Reply With Quote
Unread 04-09-15, 01:27 AM  
mads10000
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Do you have an updated version that works?

Do you have an updated version that works? I can only get the word translator/dictionary to work. /dict "word"
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: