Inspect.System.Language

From Riftui Wiki

Jump to: navigation, search

The client's current language

Signature

language = Inspect.System.Language()   -- string <- void

Return Values

language - Current language. Valid values include "English", "French", "German", "Korean", "Russian"

Example

local language = Inspect.System.Language()
 
local function Loaded()
	if language == "English" then
		print("Hello")
	elseif language == "French" then
		print("Bonjour")
	end
end
 
table.insert Event.Addon.Load.End("MyAddon") = {Loaded, Inspector, "Print hello"}
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox