Make logic localization independent
fstenstrom opened this issue ยท 3 comments
Localization needs to be added for:
- BossData.lua
Currently, the addon doesn't work for non-English, since it triggers on zone-names that are language-dependent.
which one that need localization ? I checked BossData.lue and I still dont understand
Currently, the addon checks which zone the user is in to determine if a kill should be registered. For instance "Valley of the Four Winds". On for instance Italian servers this is instead "Valle dei Quattro Venti" which makes the string comparison fail for the function 'IsBossZone'. This is easily fixable by using mapIds, but I haven't checked if there are other problems such as boss names being different. I will check later today.
The realm names and boss names are stored as strings in BossData.lua.