Should I create a new lua file
tablename.lua? With
Lua Code:
addon.Texts = {
Rewards = {
enUS = "Possible Rewards",
deDE = "German for Possible Rewards",
},
Pets = {
enUS = "List of pets",
deDE = "German List of pets",
},
}
And add this file to
table.lua
Lua Code:
Pets:SetText(addon.Texts.Rewards[GetLocal()] or addon.Texts.Rewards.enUS) -- enUS being the default is the GetLocale() entry doesn't exist.