rootuser reacted to 
Droidz in  Wrong wow language?
								
							
						
					
				
				  
				
				
					
						Hello, try this plugin :
using System.Linq;
using wManager.Wow.Helpers;
public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        robotManager.Events.Events.OnCustomEvent += (eventName, args, cancelEvent) =>
        {
            try
            {
                if (eventName =="SpellManager.CastSpellByNameOn" &&
                    args != null &&
                    args.Length == 2 &&
                    args[0] != null &&
                    args[0] is string &&
                    args[1] != null &&
                    args[1] is string)
                {
                    var spellName = (string)args[0];
                    var luaUnitId = (string)args[1];
                    var spell = SpellManager.SpellBook().FirstOrDefault(s => s.NameInGame == spellName);
                    if (spell != null)
                    {
                        var englishSpellName = spell.Name;
                        if (!string.IsNullOrWhiteSpace(englishSpellName))
                        {
                            Lua.LuaDoString(string.Format("CastSpellByName('{0}', '{1}');", englishSpellName.Replace("'", @"\'"), luaUnitId.Replace("'", @"\'")));
                            cancelEvent.Cancel = true;
                        }
                    }
                }
            } catch{}
        };
    }
    public void Dispose()
    {
    }
    public void Settings()
    {
    }
}
	 
Main.cs