I have an obvious lack of programming skills, I know I make a lot of simple mistakes and don't use functions at their best, a lot of stuff is redundant, I don't use localization libraries (and don't know how), etc. But hopefully some know better than me and can help me make corrections or lead me where I could find the solution. Otherwise, well at least this is a base to work from, I'll try my best.
The base idea is that the addon shows a list of sentences and words in the language of the game (so in english for most english players and in chinese for chinese players) with a simple drop-down menu interface. Upon clicking one sentence the player then says it in a different language.
Current interface. Clumsy but it does the job. |
What happens when you click "Hello". |
Interestingly I fought against chinese letters not displaying for over 3 days until I understood that I had to save the files in UTF-8. And it was the day I was releasing the addon that I got to know about Blizzard's addon kit.
*edit 21th april 2016* Initial release. The first version can be found here. I also posted it on the Kronos forums and a version is slowly making its way among the asian players through other mean (QQ and in-game mails mostly).
Things I want to add or change :
Option to make multi-word messages, mixing many different words
Option to actually give an answer in chinese (assuming this is possible)
Options to select input/output languages
Modifying the code to use some localization database, anything else than my mess
Current bugs :
Sub-menus only display themselves when SHIFT and CTRL are clicked
Suggestions are welcome. I am looking for a tester with an english client.
[See other articles about Vanilla]
Aucun commentaire:
Enregistrer un commentaire