Questie

Questie

121M Downloads

Add translations for SoD quests and runes

BreakBB opened this issue · 4 comments

commented

Description

Currently all new SoD quests and manually created fake quests for the runes can not be translated.

We need a proper way to handle this.

commented

Moreover it would be great, to either scrape the quest titles from the game client or add a debug pop-up if Questie is missing a translation a player encounters.

commented

Moreover it would be great, to either scrape the quest titles from the game client or add a debug pop-up if Questie is missing a translation a player encounters.

If you figure out a way to make it scrape directly from game client that would be amazing, since the debug pop-up still relies on players sending info to you. I suppose many players just close the pop-up when it comes up and don't report it to the discord.

commented

We are able to add a new SoD folder to the https://github.com/Questie/Questie/tree/master/Localization/lookups which follows the pattern of the other folders.

To add the SoD entries we are able to do the following:

l10n.questLookup["deDE"][<questID>] = {"<questNameTranslation>", nil,{"<questObjectivesText>"}},

Currently the second entry (quest description) is not used anywhere in Questie so we shouldn't add them in first step.

The following code loads the translations and does not need any changes when using the way described before:

function l10n:Initialize()

commented

If you check the German translations for Stonetalon Standstill you can see what needs to be scraped off wowhead:

[25] = {"Stillstand am Steinkrallenpfad", nil, {"Erledigt 12 beschmutzte Wasserelementare am Mystralsee östlich vom Steinkrallenpfad und südwestlich vom Splintertreeposten.","Erkundet den Pavillon am Mystralsee, der den nahen Außenposten der Allianz überblickt.","Kehrt zu Mastok Wrilehiss im Splintertreeposten in Ashenvale zurück."}},

The third parameter is a table of everything right below the quest name and before the objectives list. The entries are split by line break:

image