Enchanting: Search does not find enchantment in German (and other languages?)
sadamczyk opened this issue ยท 2 comments
This is an issue similar to #899
The problem is, that the solution to use a non-exact search works fine for the English texts, but not for the German texts.
Example:
In English the name of the enchant is "Enchant Weapon - Berserking".
The resulting scroll is just "Scroll of Enchant Weapon - Berserking".
This seems to be the case for all enchants, "Scroll of" is simply added to the beginning of the enchant name.
In German things aren't as simple unfortunately. I don't know if other languages are also affected by this, but can imagine so.
The name of the enchant is "Waffe - Berserker".
The name of the scroll though is "Rolle der Waffenverzauberung - Berserker"
Solution?
Trying to build workarounds for all the different grammatical rules in all available languages is probably madness.
The cleanest (but also pretty tedious) option would probably be to map the correct Item ID to every enchantment in the profession window. This should work for every language.
Another option might be to use just the second part after the "-" as the search term, e.g. "Berserking".
Problem is, that this might falsely match a lot of other items as well, potions, weapons etc.
And I don't even know if every language uses that kind of naming convention for the enchants.
Just tried it out and the build seems to work great for every enchant I tried.
That's awesome, thanks for your quick work! :)
Made a script that automates converting a database from the WoW client into a list of enchants to item ids. Can you test this build, it should show the profit and do the search with the right enchant name:
Auctionator-10.0.16-5-ga2570c2-wrath.zip