View Single Post
05/21/14, 09:26 AM   #6
thelegendaryof
 
thelegendaryof's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 161
Originally Posted by Garkin View Post
How to switch between laguages:
In my private addon I have defined three slash commands to switch language:
Lua Code:
  1. SLASH_COMMANDS["/langen"] = function() SetCVar("language.2", "en") end
  2. SLASH_COMMANDS["/langde"] = function() SetCVar("language.2", "de") end
  3. SLASH_COMMANDS["/langfr"] = function() SetCVar("language.2", "fr") end
Pretty usefull! thanks. Mind if I include it in BugEater (of course, named differently and after testing it)?

Also - I'm curious - Whats the difference between Map-Locations and POI 's ? (just never touched it yet)

Last edited by thelegendaryof : 05/21/14 at 09:31 AM.
  Reply With Quote