Guildbook

Guildbook

686k Downloads

error profession data

aguamemnon opened this issue · 53 comments

commented

Date: 2021-01-16 01:15:22
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Guildbook\Guildbook_Core.lua line 904:
attempt to index field '?' (a nil value)
Debug:
...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:758:
...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717
...tCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:146:
...tCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:144
[C]: ?
Guildbook\Guildbook_Core.lua:904: GetProfessionData()
Guildbook\Guildbook_Core.lua:1043: GetCharacterDataPayload()
Guildbook\Guildbook_Core.lua:1308:
Guildbook\Guildbook_Core.lua:1307
Locals:
errMsg = "Interface\AddOns\Guildbook\Guildbook_Core.lua:904: attempt to index field '?' (a nil value)"
isBugGrabber = nil
tsmErrMsg = nil
oldModule = nil
private =

{
globalNameTranslation =
{
}
FormatErrorMessageSection = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:517
ErrorHandler = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:134
origErrorHandler = defined @interface\AddOns\Decursive\Dcr_DIAG.lua:597
hitInternalError = false
CreateErrorFrame = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:536
num = 0
SanitizeString = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:510
AddonBlockedHandler = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:502
GetStackLevelInfo = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:344
ParseLocals = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:396
ignoreErrors = false
errorReports =
{
}
IsTSMAddon = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:478
localLinesTemp =
{
}
GetStackInfo = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:313
}
MAX_STACK_DEPTH = 50
OLD_TSM_MODULES =
{
1 = "TradeSkillMaster_Accounting"
2 = "TradeSkillMaster_AuctionDB"
3 = "TradeSkillMaster_Auctioning"
4 = "TradeSkillMaster_Crafting"
5 = "TradeSkillMaster_Destroying"
6 = "TradeSkillMaster_Mailing"
7 = "TradeSkillMaster_Shopping"
8 = "TradeSkillMaster_Vendoring"
9 = "TradeSkillMaster_Warehousing"
}

AddOns:
Swatter, v8.2.6377 (SwimmingSeadragon)
AccountantClassic, vv2.12.00.11305.00
ACP, v3.5.7
AddOnSkins, v4.44
AdvancedInterfaceOptions, v1.4.3
AlreadyKnown, v1.32
Altoholic, vClassic-v1.13.6-057
AtlasLootClassic, vv1.5.8
AtlasLootClassicData, vv1.5.8
AtlasLootClassicDungeonsAndRaids, vv1.5.8
AtlasLootClassicMaps, vv1.0.0
ATTClassic, v0.4.3
AucAdvanced, v8.2.6430 (SwimmingSeadragon)
AucFilterBasic, v8.2.6364 (SwimmingSeadragon)
AucStatHistogram, v8.2.6366 (SwimmingSeadragon)
AucStatiLevel, v8.2.6370 (SwimmingSeadragon)
AucStatPurchased, v8.2.6367 (SwimmingSeadragon)
AucStatSimple, v8.2.6399 (SwimmingSeadragon)
AucStatStdDev, v8.2.6369 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6371 (SwimmingSeadragon)
Auctionator, v100.0.9
AutoLoggerClassic, vv1.3-release
AutoRoll, v0.15
BagBrother, v
Bagnon, v9.0.4
BagnonScrap, v8.3.0
BankStack, vv11302.0
Bartender4, v4.10.6
BeanCounter, v8.2.6434 (SwimmingSeadragon)
BestInSlotClassic, v2.5.6
BigWigs, vv21-classic
BijouRR, v1.1.6
buffOmat, v1.82
ClassicGuildBank, v1.3
ClassicRaidAssist, v2.3
ConROC, v2.0.0
ConROCHunter, v1.13.11
DataStore, vv1.13.013
DataStoreAgenda, vr31
DataStoreAuctions, vv1.13-013
DataStoreCharacters, vv1.13-013
DataStoreContainers, vv1.13-013
DataStoreCrafts, vv1.13-013
DataStoreInventory, vv1.13-013
DataStoreMails, vv1.13-013
DataStoreQuests, vv1.13-013
DataStoreReputations, vv1.13-013
DataStoreTalents, vr62
DBMCore, v1.13.67-7-gc9bd44d
DBMDefaultSkin, v
DBMInterrupts, v1.13.5
DBMSoundEventsPack, v1.6.8
DBMSpellTimers, vr128
DBMStatusBarTimers, v
DBMVPVEM, v10.0.0
Decursive, v2.7.8
DejaClassicStats, v1305r004
Details, v
DetailsStreamer, v
DetailsTinyThreat, v
Dismounter, v1.2.1
Enchantrix, v8.2.6428 (SwimmingSeadragon)
EnchantrixBarker, v8.2.6469 (SwimmingSeadragon)
EPGPClassic, vv1.5.7
ExRT, v4440
FloTotemBar, v
GatherMate2, v1.45.6-classic
GroupCalendar, v
GuildRosterManager, v1.927
GuildRosterManagerGroupInfo, v1.07
Guildbook, v4.1.0
HandyNotes, vv1.6.1
HandyNotesNPCsClassic, v1.23
Informant, v8.2.6374 (SwimmingSeadragon)
ItemRack, v
LeatrixMaps, v1.13.90
LeatrixPlus, v1.13.90
LibHealComm40, v
LibThreatClassic2, v
LootAppraiserClassic, vv1.2
MissingTradeSkillsList, v1.13.51
NameplateSCT, v1.8
NeverLocky, v
NovaInstanceTracker, v1.13
NovaWorldBuffs, v1.86
NSMyWishList, v0.1.44
NSWishListsMaster, v0.1.21
oRA3, vv4-classic
Pawn, v2.4.10
Plater, vPlater-1.13.5.95-Classic
Prat30, v3.9.1
Prat30Libraries, v
PugLoot, vv1.1.1
Quartz, v3.5-classic-5
Questie, v6.2.4
RCLootCouncilClassic, v0.12.1
RCLootCouncilEPGPClassic, v0.0.7-Beta
RCLootCouncilExtraUtilities, v0.11.1
RCLootCouncilGroupGear, v1.8.0
RecipeRadarClassic, v1.0.0.23
RepHelperClassic, v1.13.5.1-release
RollTrackerClassic, v2.21
Scrap, v9.0.1
ScrapBroker, v8.3.0
ScrapCleaner, v8.3.0
ScrapMerchant, v
SexyMap, vv5-classic
ShadowedUnitFrames, vv4.2.3-Classic-3-g4aeee73
SilverDragon, vv11302.0
SilverDragonClassic, vv11302.0
SimplyGInv, v1.13.2
SlideBar, v8.2.6375 (SwimmingSeadragon)
statweightsclassic, v
Stubby, v8.2.6376 (SwimmingSeadragon)
TargetAnnouncer, v1.0.0
ThreatClassic2, v2.27
TinyTooltip, v8.2.1
TitanClassic, v1.2.7.11306
TitanClassicAmmo, v1.2.7.11306
TitanClassicBag, v1.2.7.11306
TitanClassicClock, v1.2.7.11306
TitanClassicGold, v1.2.7.11306
TitanClassicLocation, v1.2.7.11306
TitanClassicLootType, v1.2.7.11306
TitanClassicPerformance, v1.2.7.11306
TitanClassicRegen, v1.2.7.11306
TitanClassicRepair, v1.2.7.11306
TitanClassicVolume, v1.2.7.11306
TitanClassicXP, v1.2.7.11306
TitanSocial, v1.13.3
TomTom, vv11306-1.2.0
TradeSkillMaster, vv4.10.28
TranqRotate, v1.5.0
WeakAuras, v3.1.8
WeakAurasCompanion, v1.1.0
WIM, v3.8.15
WIMElvUISkin, v11305.01-Classic
BlizRuntimeLib_frFR v1.13.6.11306
(ck=f69)

commented

Hi, could you provide anymore info please? Are you using an English language game client?

commented

hello, i'm frensh but i can talk english ( with somes errors sorry ;) ) , i use this addon from 3 month , and i have never seen the profession data, same for the acces or main and secondary spec
screenshot

commented

Hi, no problem, I'm sorry to say I haven't added locales info yet, I think this is why there is an issue.

I think the issue is in the function GetProfessionData where it is trying to lookup a locale that doesnt exist.

you can try adding this

if not Guildbook.GetEnglish[locale] then
    Print('Guildbook needs your help with some translations')
    return
end

just at the start of the function

function Guildbook.GetProfessionData()
commented

ok result =>

Date: 2021-01-16 01:35:23
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Guildbook\Guildbook_Core.lua line 902:
attempt to call global 'Print' (a nil value)
Debug:
...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:758:
...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717
...tCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:146:
...tCouncil_Classic\RCLootCouncil\Core\ErrorHandler.lua:144
[C]: Print()
Guildbook\Guildbook_Core.lua:902: GetProfessionData()
Guildbook\Guildbook_Core.lua:1047: GetCharacterDataPayload()
Guildbook\Guildbook_Core.lua:1312:
Guildbook\Guildbook_Core.lua:1311
Locals:
errMsg = "Interface\AddOns\Guildbook\Guildbook_Core.lua:902: attempt to call global 'Print' (a nil value)"
isBugGrabber = nil
tsmErrMsg = nil
oldModule = nil
private = {
globalNameTranslation =

{
}
FormatErrorMessageSection = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:517
ErrorHandler = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:134
origErrorHandler = defined @interface\AddOns\Decursive\Dcr_DIAG.lua:597
hitInternalError = false
CreateErrorFrame = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:536
num = 0
SanitizeString = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:510
AddonBlockedHandler = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:502
GetStackLevelInfo = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:344
ParseLocals = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:396
ignoreErrors = false
errorReports =
{
}
IsTSMAddon = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:478
localLinesTemp =
{
}
GetStackInfo = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:313
}
MAX_STACK_DEPTH = 50
OLD_TSM_MODULES =
{
1 = "TradeSkillMaster_Accounting"
2 = "TradeSkillMaster_AuctionDB"
3 = "TradeSkillMaster_Auctioning"
4 = "TradeSkillMaster_Crafting"
5 = "TradeSkillMaster_Destroying"
6 = "TradeSkillMaster_Mailing"
7 = "TradeSkillMaster_Shopping"
8 = "TradeSkillMaster_Vendoring"
9 = "TradeSkillMaster_Warehousing"
}

AddOns:
Swatter, v8.2.6377 (SwimmingSeadragon)
AccountantClassic, vv2.12.00.11305.00
ACP, v3.5.7
AddOnSkins, v4.44
AdvancedInterfaceOptions, v1.4.3
AlreadyKnown, v1.32
Altoholic, vClassic-v1.13.6-057
AtlasLootClassic, vv1.5.8
AtlasLootClassicData, vv1.5.8
AtlasLootClassicDungeonsAndRaids, vv1.5.8
AtlasLootClassicMaps, vv1.0.0
ATTClassic, v0.4.3
AucAdvanced, v8.2.6430 (SwimmingSeadragon)
AucFilterBasic, v8.2.6364 (SwimmingSeadragon)
AucStatHistogram, v8.2.6366 (SwimmingSeadragon)
AucStatiLevel, v8.2.6370 (SwimmingSeadragon)
AucStatPurchased, v8.2.6367 (SwimmingSeadragon)
AucStatSimple, v8.2.6399 (SwimmingSeadragon)
AucStatStdDev, v8.2.6369 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6371 (SwimmingSeadragon)
Auctionator, v100.0.9
AutoLoggerClassic, vv1.3-release
AutoRoll, v0.15
BagBrother, v
Bagnon, v9.0.4
BagnonScrap, v8.3.0
BankStack, vv11302.0
Bartender4, v4.10.6
BeanCounter, v8.2.6434 (SwimmingSeadragon)
BestInSlotClassic, v2.5.6
BigWigs, vv21-classic
BijouRR, v1.1.6
buffOmat, v1.82
ClassicGuildBank, v1.3
ClassicRaidAssist, v2.3
ConROC, v2.0.0
ConROCHunter, v1.13.11
DataStore, vv1.13.013
DataStoreAgenda, vr31
DataStoreAuctions, vv1.13-013
DataStoreCharacters, vv1.13-013
DataStoreContainers, vv1.13-013
DataStoreCrafts, vv1.13-013
DataStoreInventory, vv1.13-013
DataStoreMails, vv1.13-013
DataStoreQuests, vv1.13-013
DataStoreReputations, vv1.13-013
DataStoreTalents, vr62
DBMCore, v1.13.67-7-gc9bd44d
DBMDefaultSkin, v
DBMInterrupts, v1.13.5
DBMSoundEventsPack, v1.6.8
DBMSpellTimers, vr128
DBMStatusBarTimers, v
DBMVPVEM, v10.0.0
Decursive, v2.7.8
DejaClassicStats, v1305r004
Details, v
DetailsStreamer, v
DetailsTinyThreat, v
Dismounter, v1.2.1
Enchantrix, v8.2.6428 (SwimmingSeadragon)
EnchantrixBarker, v8.2.6469 (SwimmingSeadragon)
EPGPClassic, vv1.5.7
ExRT, v4440
FloTotemBar, v
GatherMate2, v1.45.6-classic
GroupCalendar, v
GuildRosterManager, v1.927
GuildRosterManagerGroupInfo, v1.07
Guildbook, v4.1.0
HandyNotes, vv1.6.1
HandyNotesNPCsClassic, v1.23
Informant, v8.2.6374 (SwimmingSeadragon)
ItemRack, v
LeatrixMaps, v1.13.90
LeatrixPlus, v1.13.90
LibHealComm40, v
LibThreatClassic2, v
LootAppraiserClassic, vv1.2
MissingTradeSkillsList, v1.13.51
NameplateSCT, v1.8
NeverLocky, v
NovaInstanceTracker, v1.13
NovaWorldBuffs, v1.86
NSMyWishList, v0.1.44
NSWishListsMaster, v0.1.21
oRA3, vv4-classic
Pawn, v2.4.10
Plater, vPlater-1.13.5.95-Classic
Prat30, v3.9.1
Prat30Libraries, v
PugLoot, vv1.1.1
Quartz, v3.5-classic-5
Questie, v6.2.4
RCLootCouncilClassic, v0.12.1
RCLootCouncilEPGPClassic, v0.0.7-Beta
RCLootCouncilExtraUtilities, v0.11.1
RCLootCouncilGroupGear, v1.8.0
RecipeRadarClassic, v1.0.0.23
RepHelperClassic, v1.13.5.1-release
RollTrackerClassic, v2.21
Scrap, v9.0.1
ScrapBroker, v8.3.0
ScrapCleaner, v8.3.0
ScrapMerchant, v
SexyMap, vv5-classic
ShadowedUnitFrames, vv4.2.3-Classic-3-g4aeee73
SilverDragon, vv11302.0
SilverDragonClassic, vv11302.0
SimplyGInv, v1.13.2
SlideBar, v8.2.6375 (SwimmingSeadragon)
statweightsclassic, v
Stubby, v8.2.6376 (SwimmingSeadragon)
TargetAnnouncer, v1.0.0
ThreatClassic2, v2.27
TinyTooltip, v8.2.1
TitanClassic, v1.2.7.11306
TitanClassicAmmo, v1.2.7.11306
TitanClassicBag, v1.2.7.11306
TitanClassicClock, v1.2.7.11306
TitanClassicGold, v1.2.7.11306
TitanClassicLocation, v1.2.7.11306
TitanClassicLootType, v1.2.7.11306
TitanClassicPerformance, v1.2.7.11306
TitanClassicRegen, v1.2.7.11306
TitanClassicRepair, v1.2.7.11306
TitanClassicVolume, v1.2.7.11306
TitanClassicXP, v1.2.7.11306
TitanSocial, v1.13.3
TomTom, vv11306-1.2.0
TradeSkillMaster, vv4.10.28
TranqRotate, v1.5.0
WeakAuras, v3.1.8
WeakAurasCompanion, v1.1.0
WIM, v3.8.15
WIMElvUISkin, v11305.01-Classic
BlizRuntimeLib_frFR v1.13.6.11306
(ck=f69)

commented

sorry that should be a lower p not P on print

commented

But it seems to have stopped further errors so i think that is the issue

In the Guildbook_Locales.lua file there is a function GetEnglish, if you add the French translations into it similar to the english/german then you should be in business.
In fact I'm starting to add the locales back into the addon so these values will be used more and more, I would be extremely grateful for any help you can offer.

commented

ok thats close the error hook.

commented

But for the main and secondary spec , and for acces MC-BWL-NAX ??

commented

They are also being used from the locales file

commented

`Guildbook.GetEnglish = {
['enUS'] = {
['Alchemy'] = 'Alchemy',
['Blacksmithing'] = 'Blacksmithing',
['Enchanting'] = 'Enchanting',
['Engineering'] = 'Engineering',
['Inscription'] = 'Inscription',
['Jewelcrafting'] = 'Jewelcrafting',
['Leatherworking'] = 'Leatherworking',
['Tailoring'] = 'Tailoring',
['Herbalism'] = 'Herbalism',
['Skinning'] = 'Skinning',
['Mining'] = 'Mining',
['Cooking'] = 'Cooking',
['Fishing'] = 'Fishing',
['First Aid'] = 'First Aid',
},
['deDE'] = {
["Alchimie"] = "Alchemy",
["Schmiedekunst"] = "Blacksmithing",
["Verzauberkunst"] = "Enchanting",
["Ingenieurskunst"] = "Engineering",
--['Inscription'] = 'Inscription',
--['Jewelcrafting'] = 'Jewelcrafting',
["Schneiderei"] = "Tailoring",
["Lederverarbeitung"] = "Leatherworking",
["Kräuterkunde"] = "Herbalism",
["Kürschnerei"] = "Skinning",
["Bergbau"] = "Mining",
['Erste Hilfe'] = 'First Aid',
['Angeln'] = 'Fishing',
['Kochkunst'] = 'Cooking',
},
-- i think this is the locale key (code) you'd get on a French client?
['frFR'] = {

}

}
`
So here is where you'll need to add the french translations for the professions.

Above this there is the block
`local locale = GetLocale()
--USE THIS TO CREATE LOCALES - SWAP 'deDE' FOR THE COUNTRY/LANGUAGE YOU ARE TRANSLATING INTO
if locale == "deDE" then

elseif locale == '' then

end`

again, it'll need the translations.

I am going to find out how i can get this set up on curseforge for the community to add tgranslations but this is a way to hopefully get you going for now.

commented

i'm in transtation right now 5 min for this

commented

like this ???

local locale = GetLocale()
--USE THIS TO CREATE LOCALES - SWAP 'deDE' FOR THE COUNTRY/LANGUAGE YOU ARE TRANSLATING INTO
if locale == "deDE" then

elseif locale == '' then

end

Guildbook.Locales = L

-- this will be a lookup table to convert to english for function args etc
Guildbook.GetEnglish = {
['enUS'] = {
['Alchemy'] = 'Alchemy',
['Blacksmithing'] = 'Blacksmithing',
['Enchanting'] = 'Enchanting',
['Engineering'] = 'Engineering',
['Inscription'] = 'Inscription',
['Jewelcrafting'] = 'Jewelcrafting',
['Leatherworking'] = 'Leatherworking',
['Tailoring'] = 'Tailoring',
['Herbalism'] = 'Herbalism',
['Skinning'] = 'Skinning',
['Mining'] = 'Mining',
['Cooking'] = 'Cooking',
['Fishing'] = 'Fishing',
['First Aid'] = 'First Aid',
},
['deDE'] = {
["Alchimie"] = "Alchemy",
["Schmiedekunst"] = "Blacksmithing",
["Verzauberkunst"] = "Enchanting",
["Ingenieurskunst"] = "Engineering",
--['Inscription'] = 'Inscription',
--['Jewelcrafting'] = 'Jewelcrafting',
["Lederverarbeitung"] = "Leatherworking",
["Schneiderei"] = "Tailoring",
["Lederverarbeitung"] = "Leatherworking",
["Kräuterkunde"] = "Herbalism",
["Kürschnerei"] = "Skinning",
["Bergbau"] = "Mining",
['Erste Hilfe'] = 'First Aid',
['Angeln'] = 'Fishing',
['Kochkunst'] = 'Cooking',
},
['frFR'] = {
["Alchimie"] = "Alchemy",
["Forge"] = "Blacksmithing",
["Enchantement"] = "Enchanting",
["Ingénierie"] = "Engineering",
--['Inscription'] = 'Inscription',
--['Jewelcrafting'] = 'Jewelcrafting',
["Couturier"] = "Tailoring",
["Travail du cuir"] = "Leatherworking",
["Herboristerie"] = "Herbalism",
["Dépecage"] = "Skinning",
["Minage"] = "Mining",
['Secourisme'] = 'First Aid',
['Pêche'] = 'Fishing',
['Cuisine'] = 'Cooking',
},
}

commented

Yes that looks good for the professions

commented

how to swap ??

commented

In this
`if locale == "deDE" then

elseif locale == 'frFR' then
--add the french for the above values like
L['Main'] = 'The french for main'
L['Spec'] = 'Spec in french'
end`

commented

i will copy paste that and push an update in a few minutes

commented

like that ?

local locale = GetLocale()
--USE THIS TO CREATE LOCALES - SWAP 'deDE' FOR THE COUNTRY/LANGUAGE YOU ARE TRANSLATING INTO
if locale == "deDE" then

elseif locale == 'frFR' then

L['Main'] = 'Principale'
L['Spec'] = 'Spécialisation'
end

Guildbook.Locales = L

-- this will be a lookup table to convert to english for function args etc
Guildbook.GetEnglish = {
['enUS'] = {
['Alchemy'] = 'Alchemy',
['Blacksmithing'] = 'Blacksmithing',
['Enchanting'] = 'Enchanting',
['Engineering'] = 'Engineering',
['Inscription'] = 'Inscription',
['Jewelcrafting'] = 'Jewelcrafting',
['Leatherworking'] = 'Leatherworking',
['Tailoring'] = 'Tailoring',
['Herbalism'] = 'Herbalism',
['Skinning'] = 'Skinning',
['Mining'] = 'Mining',
['Cooking'] = 'Cooking',
['Fishing'] = 'Fishing',
['First Aid'] = 'First Aid',
},
['deDE'] = {
["Alchimie"] = "Alchemy",
["Schmiedekunst"] = "Blacksmithing",
["Verzauberkunst"] = "Enchanting",
["Ingenieurskunst"] = "Engineering",
--['Inscription'] = 'Inscription',
--['Jewelcrafting'] = 'Jewelcrafting',
["Lederverarbeitung"] = "Leatherworking",
["Schneiderei"] = "Tailoring",
["Lederverarbeitung"] = "Leatherworking",
["Kräuterkunde"] = "Herbalism",
["Kürschnerei"] = "Skinning",
["Bergbau"] = "Mining",
['Erste Hilfe'] = 'First Aid',
['Angeln'] = 'Fishing',
['Kochkunst'] = 'Cooking',
},
['frFR'] = {
["Alchimie"] = "Alchemy",
["Forge"] = "Blacksmithing",
["Enchantement"] = "Enchanting",
["Ingénierie"] = "Engineering",
--['Inscription'] = 'Inscription',
--['Jewelcrafting'] = 'Jewelcrafting',
["Couturier"] = "Tailoring",
["Travail du cuir"] = "Leatherworking",
["Herboristerie"] = "Herbalism",
["Dépecage"] = "Skinning",
["Minage"] = "Mining",
['Secourisme'] = 'First Aid',
['Pêche'] = 'Fishing',
['Cuisine'] = 'Cooking',
},
}

commented

Yes :)

commented

the larger section with the big list is a look up table, so in the code i have this
SetText(L['CharacterLevel'])
so it'll look for CharacterLevel and return whatever value it is, the function is the other way as the game client returns the local and the addon needs the english.

commented

ok i have remove

if not Guildbook.GetEnglish[locale] then Print('Guildbook needs your help with some translations') return end

result : oky for skill and spec

But no listing for profession
screenshot2

commented

You will need to open the profession for the addon to scan it, then fingers crossed it'll work

commented

i have reloaded but no

commented

sorry but no
screenshot3

commented

i'm sorry for the desturbing , you are very friendly for your quickly respond

commented

Are you using TSM? it could be that the TSM addon is interfering, what happens if you disable TSM ?

commented

no i have disbled it

commented

Ok i think then its a case of translation, I will add a function to handle this and push an update asap

commented

screenshot4

commented

ok i just sent an update, its not tested so if you have time let me know how it goes, for now im off to sleep :)

commented

Is it still not working?

Have you tried with TSM disabled?

I wonder if I can get a French client downloaded as it must be a translation error or something.

commented

So I just did a google search and the french for enchanting is enchanteur, maybe change the locales file to this and see what happens?

commented

Ah sorry I've missed an e from enchantment, I will upload a fix later but could you let me know if it fixes things.

In the locales file in the frFR section for enchantment I've missed the e before "ment".

commented

hello thanks for the update , for the skill have you an update ???

commented

gb-savedvar

inside this file are the professions in english or french?

commented

english ...
screenshot6

commented

Its OK for Enchanting => Enchantement , not for alchemy => Alchimie
screenshot5

commented

you have a solution ???

commented

Ok i think i see the issue, looking through the code it looks like the addon is storing recipes and prof name in different languages, will upload a fix to git if you could try and let me know then i'll push to curse after.

commented

anny update ??

commented

Hi sorry i didn't see your previous reply, i will take a look this evening

commented

after few try sorry but no always the same ok for enchanting , not for the other tradeskill

alchemy cooking is empty , i'll suggest to not try to list Herbalism ,Skinning and fishing , but for mining it s usefull for elementium ore for exemple

commented

it's ok for tradeskill, but i think you need to not list Herbalism ,Skinning and fishing its empty but for mining and cooking it s usefull for elementium ore for exemple

screenshot6

commented

Have you tried to reset the character settings?

commented

Oh god i see my error, im trying to call a table lookup
GetEnglish() instead of GetEnglish[]

commented

i'll send another update to git for you, very sorry

commented

i case of enchanting tailoring we can't see the two tradeskill , perhaps you can add a choice tab or make in the second column appear the second tradskill

commented

i dont understand what you mean?

commented

exemple
screenshot7

commented

maybe there is another bug somewhere with translations as mining should be showing up.

commented

mining prof

commented

hello ,any update ??

commented

mining prof

it seems to be working for me?

i set my client to french (text and spoken) and wiped the saved vars so it was a fresh install of the addon.

checked my character first and profs as expected, opened engineering checked character and it showed up, then i opened mining and checked and it showed up.

commented

ok after delete saved variables in all charactere and in account that s work's , but not for cooking