Hi, guys~
Currently, I'm working on my high five server language translation (English -> Korean). The process was good until I faced the quest NO.419 - GetAPet.
Translation of the NPC dialog html was successful but I got stuck at the final stage which is the final 10 questions part to get the wolf.
The followings are the sample code from Q00419_GetAPet.java. Base source from l2jserver.com.
LINKS.put(1110001, "<a action=\"bypass -h Quest Q00419_GetAPet 30731-14.html\">Can be used for item transportation.</a><br>");
htmltext = getHtm(player.getHtmlPrefix(), htmltext);
htmltext = htmltext.replace("<?reply1?>", LINKS.get(linkId + replyOffset1));
htmltext = htmltext.replace("<?reply2?>", LINKS.get(linkId + replyOffset2));
htmltext = htmltext.replace("<?reply3?>", LINKS.get(linkId + replyOffset3));
htmltext = htmltext.replace("<?reply4?>", LINKS.get(linkId + replyOffset4));
htmltext = htmltext.replace("<?reply5?>", LINKS.get(linkId + 5));
The red colored text is the part that I want to do the translation. But when I do so, I got the text broken in the game.