View Single Post
01-02-21, 08:12 AM   #10
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
Thanks Vrul, this is a good way, but not quite it working.

Lua Code:
  1. hooksecurefunc(QUEST_TRACKER_MODULE, "SetBlockHeader", function(self, block)
  2.     local objectives = block.lines
  3.     if objectives.QuestComplete then
  4.          objectives.QuestComplete.Text:SetText("Gotowy do oddania");    -- Ready for turn-in
  5.     else
  6.         for index = 1, #objectives do
  7.              objectives[index].Text:SetText("My translation");
  8.         end
  9.     end
  10. end)

Line 4. and 7. - does not change the text in ObjectiveTracker on the game.



Blizzard does not support the Polish language in the game, so I developed some addons that display translated texts in key places in the game (quests, gossip, bubbles, cinematic subtitles, tutarials).

Last edited by Platine : 01-03-21 at 10:27 AM.
  Reply With Quote