Example:
I make files:


Menu:
1. polish
2. english
3.
4.
5.
6.
7.
8.
9.
lang = { 	["English"] = { 		["langMenuTitle"] = "Select your Language"; 		 		["menu1"] = { 			"English Menu 1"; -- Title 			"Button 1,Factis is moderator"; -- Buttons 		}; 		["menu2"] = { 			"English Menu 2"; 			"Button 1,Factis likes pie"; 		}; 	}; 	 	["Polski"] = { 		["langMenuTitle"] = "Wybierz swoj Jezyk"; 		 		["menu1"] = { 			"Polskie Menu 1"; 			"Przycisk 1,Factis to cipa"; 		}; 		["menu2"] = { 			"Polskie Menu 2"; 			"Przycisk 1,Factis lubi ruchac"; 		}; 	}; } Player = {}; LANGUAGES = {"English", "Polski"} function langMenu(id) 	local _, i; 	local str = lang[Player[id].lang]["langMenuTitle"] .. ","; 	for _, i in pairs(LANGUAGES) do 		str = str .. i; 		if _ < #LANGUAGES then 			str = str .. ","; 		end 	end 	menu(id, str); end function menu1(id) 	local l = lang[Player[id].lang]["menu1"]; 	menu(id, l[1] .. "," .. l[2]); end function menu2(id) 	local l = lang[Player[id].lang]["menu2"]; 	menu(id, l[1] .. "," .. l[2]); end addhook("join", "onJoin") function onJoin(id) 	Player[id] = { 		lang = "English"; 	}; end addhook("serveraction", "onKey") function onKey(id, k) 	if (k == 1) then 		langMenu(id); 	elseif (k == 2) then 		menu1(id); 	elseif (k == 3) then 		menu2(id); 	end end addhook("menu", "onMenu") function onMenu(id, t, b) 	local l = lang[Player[id].lang]; 	if (t == l["langMenuTitle"]) then 		if b > 0 then 			Player[id].lang = LANGUAGES[b]; 		end 	elseif (t == l["menu1"][1]) then 		msg("Button["..b.."] in menu1 with title: "..t); 	elseif (t == l["menu2"][1]) then 		msg("Button["..b.."] in menu2 with title: "..t); 	end end
lang = { 	["English"] = { 		["langMenuTitle"] = "Select your Language"; 		 		["menu1"] = { 			"English Menu 1"; -- Title 			"Button 1,Factis is moderator"; -- Buttons 		}; 		["menu2"] = { 			"English Menu 2"; 			"Button 1,Factis likes pie"; 		}; 	}; 	 	["Polski"] = { 		["langMenuTitle"] = "Wybierz swoj Jezyk"; 		 		["menu1"] = { 			"Polskie Menu 1"; 			"Przycisk 1,Factis to cipa"; 		}; 		["menu2"] = { 			"Polskie Menu 2"; 			"Przycisk 1,Factis lubi ruchac"; 		}; 	}; } Player = {}; LANGUAGES = {"English", "Polski"} function langMenu(id) 	local _, i; 	local str = lang[Player[id].lang]["langMenuTitle"] .. ","; 	for _, i in pairs(LANGUAGES) do 		str = str .. i; 		if _ < #LANGUAGES then 			str = str .. ","; 		end 	end 	menu(id, str); end function menu1(id) 	local l = lang[Player[id].lang]["menu1"]; 	menu(id, l[1] .. "," .. l[2]); end function menu2(id) 	local l = lang[Player[id].lang]["menu2"]; 	menu(id, l[1] .. "," .. l[2]); end addhook("join", "onJoin") function onJoin(id) 	Player[id] = { 		lang = "English"; 	}; end addhook("serveraction", "onKey") function onKey(id, k) 	if (k == 1) then 		langMenu(id); 	elseif (k == 2) then 		menu1(id); 	elseif (k == 3) then 		menu2(id); 	end end addhook("menu", "onMenu") function onMenu(id, t, b) 	local l = lang[Player[id].lang]; 	if (t == l["langMenuTitle"]) then 		if b > 0 then 			Player[id].lang = LANGUAGES[b]; 		end 	elseif (t == l["menu1"][1]) then 		msg("Button["..b.."] in menu1 with title: "..t); 	elseif (t == l["menu2"][1]) then 		msg("Button["..b.."] in menu2 with title: "..t); 	end end
if English == nil then English = {} end if Polish == nil then Polish = {} end Messages = {"English Message", "Polish Message", "Your Messages here" } addhook('serveraction','_serveraction') function _serveraction(playerid,actionid) 	if actionid == 1 then 		menu(playerid,"Menu,Polish,English") 	end end addhook('menu','_menu') function _menu(playerid,tittleid,buttonid) if tittleid == 'Menu' then 	if buttonid == 1 then 		Polish[playerid]=1 		debug(playerid) 		msg2(playerid,"©255255255Polish Language Enabled") 	elseif buttonid == 2 then 		English[playerid]=1 		debug(playerid) 		msg2(playerid,"©255255255English Language Enabled") 		end 	end end function debug(id) 	if Polish[id] == 1 then 		English[id]=0 	elseif English[id] == 1 then 		Polish[id]=0 	end end addhook('minute','_minute') -- hook minute function _minute() 	for _,id in pairs(player(0,"table")) do 		if English[id] == 1 then 			MSG = Messages[1] 			msg2(id,MSG) 		end 	if Polish[id] == 1 then 		MSG = Messages[2] 			msg2(id,MSG) 		end 	end end addhook('join','_join') function _join(id) 	English[id]=0 	Polish[id]=0 end