sylvanaar / wow-instant-messenger

WIM (WoW Instant Messenger) is a World of Warcraft addon which brings an instant messenger feel to communication in game.
https://www.curseforge.com/wow/addons/wim-3
MIT License
12 stars 14 forks source link

Create esMX.lua #8

Closed ghost closed 4 years ago

Pazza commented 4 years ago

Since the translations are identical, I'd hate to see two separate files. Can you test if cloning the table before adding the translation resolves the issue?

Pazza commented 4 years ago

What's happening is, if the locale being registered isn't the current locale, it is clearing out the table to save memory. That is why it is not working. I will update to load the the two conditionally using WIM.getLocale().

ghost commented 4 years ago

@Pazza Ok when you add that in I will test, or you can just change your locale and test yourself.

Pazza commented 4 years ago

@woopydalan try the latest alpha on curse please.

ghost commented 4 years ago

@Pazza Hi I tested and it works for both esES and esMX. I will close out the pull requests and issue.