local labels = {}

labels["Batavia"] = {
	aliases = {"Batavian", "Betawi"},
	display = "Batavian Malay",
	Wikipedia = "Betawi language",
	regional_categories = "Batavian",
}

labels["Brunei"] = {
	Wikipedia = true,
	regional_categories = "Bruneian",
}

labels["Kelantan-Pattani"] = {
	aliases = {"Kelantan", "Kelantanese", "Kelantan Malay", "Kota Bharu", "Pattani", "Pattani Malay", "Kelantan-Pattani Malay"},
	display = "Kelantan-Pattani",
	Wikipedia = "Kelantan-Pattani Malay",
	regional_categories = true,
}

labels["Malaysia"] = {
	aliases = {"Malaysian"},
	Wikipedia = "Malaysian Malay",
	regional_categories = "Malaysian",
}

labels["Minangkabau"] = {
	display = "Minangkabau Malay",
	Wikipedia = "Minangkabau language",
	regional_categories = true,
}

labels["Myanmar"] = {
	aliases = {"Myanmarese", "Burma", "Burmese"},
	Wikipedia = "Myanmar English",
	regional_categories = true,
}

labels["Palace Malay"] = {
	plain_categories = "Malay royal terms",
}

----Other labels go here----

labels["1924-1972"] = {
	aliases = {"Zaaba spelling", "Zaaba orthography", "pre-1972 standard", "pre-1972"},
	Wikipedia = "Za'aba Spelling",
	plain_categories = "Malay 1924-1972 forms",
}

----Dialects without ISO 639-3 codes----

labels["Asahan"] = {
	Wikipedia = "Asahan Regency",
	regional_categories = true,
}

labels["Deli"] = {
	Wikipedia = "Deli Regency",
	regional_categories = true,
}

labels["Hilir Pahang"] = {
	regional_categories = true,
}

labels["Hulu Pahang"] = {
	regional_categories = true,
}

labels["Ketapang"] = {
	Wikipedia = "Ketapang Regency",
	regional_categories = true,
}

labels["Kotawaringin"] = {
	Wikipedia = true,
	regional_categories = true,
}

labels["Kualuh"] = {
	Wikipedia = true,
	regional_categories = true,
}

labels["Landak"] = {
	Wikipedia = "Landak Regency",
	regional_categories = true,
}

labels["Langkat"] = {
	Wikipedia = "Langkat Regency",
	regional_categories = true,
}

labels["Medan"] = {
	Wikipedia = true,
	regional_categories = true,
}

labels["Melawi"] = {
	Wikipedia = "Melawi Regency",
	regional_categories = true,
}

labels["Negeri Sembilan"] = {
	Wikipedia = true,
	regional_categories = true,
}

labels["Pahang"] = {
	Wikipedia = true,
	regional_categories = true,
}

labels["Panai"] = {
	Wikipedia = true,
	regional_categories = true,
}

labels["Pasir Pangaraian"] = {
	Wikipedia = true,
	regional_categories = true,
}

labels["Perak"] = {
	Wikipedia = "Perak Malay",
	regional_categories = true,
}

labels["Pontianak"] = {
	Wikipedia = "Pontianak Malay",
	regional_categories = true,
}

labels["Riau"] = {
	Wikipedia = "Riau Islands",
	regional_categories = true,
}

labels["Rokan Hilir"] = {
	Wikipedia = "Rokan Hilir Regency",
	regional_categories = true,
}

labels["Sambas"] = {
	Wikipedia = "Sambas Regency",
	regional_categories = true,
}

labels["Sanggau"] = {
	Wikipedia = "Sanggau Regency",
	regional_categories = true,
}

labels["Sarawak"] = {
	Wikipedia = "Sarawak Malay",
	regional_categories = true,
}

labels["Serdang"] = {
	Wikipedia = "Serdang Bedagai Regency",
	regional_categories = true,
}

labels["Siak"] = {
	Wikipedia = "Siak Regency",
	regional_categories = true,
}

labels["Singapore"] = {
	aliases = {"Singaporean"},
	Wikipedia = "Malay Singaporeans",
	regional_categories = true,
}

labels["Sintang"] = {
	Wikipedia = "Sintang Regency",
	regional_categories = true,
}

labels["Tamiang"] = {
	Wikipedia = "Aceh Tamiang Regency",
	regional_categories = true,
}

labels["Terengganu"] = {
	Wikipedia = "Terengganu Malay",
	regional_categories = true,
}

labels["Tembilahan"] = {
	Wikipedia = "Tembilahan",
	regional_categories = true,
}

labels["West Kalimantan"] = {
	aliases = {"Kalbar"},
	Wikipedia = true,
	regional_categories = true,
}

labels["Netherlands"] = {
	Wikipedia = true,
	regional_categories = true,
}

------------------------------------ former accent qualifiers ------------------------------------

-- FIXME, the following may partly be duplicative.

labels["Bahasa Baku"] = {
	aliases = {"Borneo Malay", "East Malaysia Malay", "Singapore Malay", "Standard Brunei Malay", "ms-SG"},
	Wikipedia = "Malay phonology",
}

labels["Johor-Selangor"] = {
	aliases = {"Johor", "Kuala Lumpur", "Piawai", "Standard Malay", "Standard Malaysian"},
	Wikipedia = "Malay phonology",
}

labels["Northern Peninsular Malay"] = {
	aliases = {"Kedah", "Northern Peninsula", "Penang", "Perlis"},
	Wikipedia = "Malay phonology",
}

labels["Riau-Lingga"] = {
	Wikipedia = "Riau-Lingga Sultanate",
}

----Not included Palembang Malay, Bengkulu Malay, Jambi Malay, Bangka Malay, Berau Malay, Kutai Malay, Loloan Malay, Sabah Malay
return require("Module:labels").finalize_data(labels)