I am planning to make an addon that - based on the QuestID - adds or replaces the quest text with a translated one. I prefer leaving the original text as it is and display a translated version of the questtexts. The data can be read from a lua, and can be localized to any language. Not necessarily every quest, just the main/storyline ones or the low level ones (or at least I will translate those first).
The only problem is that I dont know how to create/modify wow GUI, I only wrote commandline addons till now. How can I hook the questlogframe windows, and modify the questtext? I just need a simple example, how can I add the questID after the questtitle in the questlog and the questgiver's window like this, and maybe to add another random text to teh end of the description (for example the length of the text). blue text shows to where I want to add text:
questlog:
questgiver npc:
or to leave the original text intact, add a little icon to the topright that I can mouseover to display a fixed-width tooltip that based on the questID displays a text that I want, like this (photoshopped):
the text then can be a word-to word tranlation or just a brief translation what the npc wants, what to do, where, and maybe some aditional (optional) hint where to go or what to kill. But mainly I want to post a translation there so if someone dont speak the language wow uses, or not perfect and want to read the quests (maybe for RP) and someone translates most of the texts, they can understand it.
Just tell me or make a base lue that adds a custom text as an example, and then I can add the rest, I just dont know what I need to hook/catch etc. the windows/events to add this.
I dont want a full scale translationn.
At first to hungarian, but if there is a base, it can be done to any language, to help newbies start questing or just for fun. Anyone can add their own language, and can pick and translate the quests they think are worth to read (I never read the text, Im not a roleplayer and I want to lvl fast, but maybe others will if they understand.
I know a lot of ppl that only understand the common words, lol lfg etc and cant even read a simple question, and there are also a lot of ppl who willing to translate some of the main quests, if it can be displayed ingame. Let that be my problem, I just dont know how to start. I prefer the tooltip one :)
Quest Japanizer already does this for Japanese. If you like the way it presents its translations, it is licensed under the BSD License, so you could freely use it as a base, and replace the Japanese text with your Hungarian text.
Quest Japanizer already does this for Japanese. If you like the way it presents its translations, it is licensed under the BSD License, so you could freely use it as a base, and replace the Japanese text with your Hungarian text.
I've made the addon and did some tweak so can work with monkeyquest... in hungarian.
USed the questjapanizer's idea as a base. If the user have monkeyquest too, the tooltip also shows the translated text. I also made a program to add/edit translations.
The only problem is that I dont know how to create/modify wow GUI, I only wrote commandline addons till now. How can I hook the questlogframe windows, and modify the questtext? I just need a simple example, how can I add the questID after the questtitle in the questlog and the questgiver's window like this, and maybe to add another random text to teh end of the description (for example the length of the text). blue text shows to where I want to add text:
questlog:
questgiver npc:
or to leave the original text intact, add a little icon to the topright that I can mouseover to display a fixed-width tooltip that based on the questID displays a text that I want, like this (photoshopped):
the text then can be a word-to word tranlation or just a brief translation what the npc wants, what to do, where, and maybe some aditional (optional) hint where to go or what to kill. But mainly I want to post a translation there so if someone dont speak the language wow uses, or not perfect and want to read the quests (maybe for RP) and someone translates most of the texts, they can understand it.
Just tell me or make a base lue that adds a custom text as an example, and then I can add the rest, I just dont know what I need to hook/catch etc. the windows/events to add this.
At first to hungarian, but if there is a base, it can be done to any language, to help newbies start questing or just for fun. Anyone can add their own language, and can pick and translate the quests they think are worth to read (I never read the text, Im not a roleplayer and I want to lvl fast, but maybe others will if they understand.
I know a lot of ppl that only understand the common words, lol lfg etc and cant even read a simple question, and there are also a lot of ppl who willing to translate some of the main quests, if it can be displayed ingame. Let that be my problem, I just dont know how to start. I prefer the tooltip one :)
thanks, will check :)
USed the questjapanizer's idea as a base. If the user have monkeyquest too, the tooltip also shows the translated text. I also made a program to add/edit translations.
Full screen:
http://heroes.hardwired.hu/-/qthun_full.jpg