local data = {}

--[=[	Please add language codes for new pronunciation keys to the list below.
		This will allow [[Template:Wt/sco/IPA]] and the functions in [[Module:IPA]] to
		automatically link to the key.	]=]
local langcodes = {
	"ca",
    "cy",
	"de",
    "dsb",
    "el",
	"en",
    "eo",
    "es",
    "fr",
    "ga",
    "gd",
    "hu",
    "it",
    "la",
    "liv",
    "mdf",
    "my",
    "nci",
	"nl",
    "no",
    "pjt",
    "pl",
    "pt",
    "sl",
    "sga",
    "sv",
    "wlm",
    "yi",
}

data.langs_with_infopages = {}

--[=[	This goes through the list of langcodes, and fills
		the table data.langs_with_infopages with items
		such as ["ca"] = true, ["cy"] = true, ... ,
		so that [[Module:IPA]] can easily access them. ]=]
for _, langcode in ipairs(langcodes) do
	data.langs_with_infopages[langcode] = true
end

-- Non-standard or obsolete IPA symbols.
data.nonstandard = {
	--[[IPA/	The following symbols consist of more than one character,
			so we can't put them in the line below.		|	The following symbols consist of more than one character,
			so we can't put them in the line below.		]]
	"ɑ̢", "d̂", "t̂", "n̂", "l̂", "k̫", "ɔ̗", "ɔ̖",
	
	"[ʦʣʧʤʨʥ?ƍσƺƪƻƾƞᶀᶁᶂᶃᶄᶅᶆᶈᶇᶉᶊᶋƫᶌᶍᶎʓʆλƛłščžǰǧǯẋᵻᵿⱻʚ"
	.. "ɷωıȹȸ∅ØƥƭƈƙʠʇʗʖʞɩɼȣяɿʅʮʯᴀᴀᴇGRŒQȡȶȵȴKPT]"
}

-- See valid IPA characters at [[Module:IPA/data/symbols]].

data.phonemes = {}
data.phonemes["nl"] = {
	"m", "n", "ŋ",
	"p", "b", "t", "d", "k", "ɡ",
	"f", "v", "s", "z", "ʃ", "ʒ", "x", "ɣ", "ɦ",
	"ʋ", "l", "j", "r",
	"ɪ", "ʏ", "ɛ", "ə", "ɔ", "ɑ",
	"i", "iː", "y", "yː", "u", "uː", "eː", "øː", "oː", "ɛː", "œː", "ɔː", "aː",
	"ɛi̯", "œy̯", "ɔi̯", "ɑu̯", "ɑi̯",
	"iu̯", "yu̯", "ui̯", "eːu̯", "oːi̯", "aːi̯",
	"ˈ", "ˌ", ".", " ",
	}
data.phonemes["hy"] = {
	"ɑ", "b", "ɡ", "d", "ɛ", "z", "ɛ", "ə", "tʰ", "ʒ", "i", "l", "χ", "t͡s",
	"k", "h", "d͡z", "ʁ", "t͡ʃ", "m", "j", "n", "ʃ", "ɔ", "t͡ʃʰ", "p", "d͡ʒ",
	"r", "s", "v", "t", "ɾ", "t͡sʰ", "v", "pʰ", "kʰ", "ɔ", "f", "ŋɡ", "ŋk",
	"ŋχ", "u", "ˈ", "ˌ", ".", " ", "ː",
	}

return data