View Single Post
11/04/19, 05:51 AM   #1
Neverlands
 
Neverlands's Avatar
Join Date: Jul 2017
Posts: 7
Help with "LorePlay" addon - German

Hello,
the addon "LorePlay" by Justinon is discontinued and I cannot ask him for help.
With the English client the addon works fine but with the German client it does not recognize if one is in a specific city or region. I attach Justinon's English locales lua for regions and cities, his original German one and my translations.

There is only one difference to the English language lua which I can see.
English Justinon:

Code:
    -- Add Wayshrines
    local temp = {}
    for i,v in pairs(languageTable.defaultEmotesByCity) do
        local cityWayshrine = i.." Wayshrine"
        temp[i] = languageTable.defaultEmotesByCity[i]
        temp[cityWayshrine] = languageTable.defaultEmotesByCity[i]
    end
    languageTable.defaultEmotesByCity = temp
German Justinon:
Code:
    local cityWayshrine
    for i,v in pairs(languageTable.defaultEmotesByCity) do
        cityWayshrine = i.." Wayshrine"
        languageTable.defaultEmotesByCity[cityWayshrine] = languageTable.defaultEmotesByCity[i]
    end
I changed German to the following but without success:

Code:
    local cityWayshrine
    for i,v in pairs(languageTable.defaultEmotesByCity) do
        cityWayshrine = "Der Wegschrein von "..i
        languageTable.defaultEmotesByCity[cityWayshrine] = languageTable.defaultEmotesByCity[i]
     end
Unfortunately I am not familiar with the code so I don't have any idea why the German client doesn't recognize regions and cities. Help would be very appreciated.
Attached Files
File Type: lua en-Justinion.lua (9.7 KB, 413 views)
File Type: lua de-Justinion.lua (9.2 KB, 425 views)
File Type: lua de-neverlands.lua (11.3 KB, 422 views)
  Reply With Quote