local i18n = {
	["errors"] = {
		["property-not-found"] = "Atribut tidak ditemukan.",
		["qualifier-not-found"] = "Penjelas tidak ditemukan."
	},
	
	["datetime"] =
	{
		-- $1 is a placeholder for the actual number
		["beforenow"] = "$1 SM",	-- how to format negative numbers for precisions 0 to 5
		["afternow"] = "$1 M",		-- how to format positive numbers for precisions 0 to 5
		["bc"] = '$1 SM',			-- how print negative years
		["ad"] = "$1 M",			-- how print 1st century AD dates
		[0] = "$1 miliar tahun",	-- precision: billion years
		[1] = "$100 juta tahun",	-- precision: hundred million years
		[2] = "$10 juta tahun",		-- precision: ten million years
		[3] = "$1 juta tahun",		-- precision: million years
		[4] = "$100000 tahun",		-- precision: hundred thousand years
		[5] = "$10000 tahun",		-- precision: ten thousand years
	    [6] = "$1 milenium",        -- precision: millennium
		[7] = "$1 abad",			-- precision: century
		[8] = "$1 dekade",			-- precision: decade
		-- the following use the format of #time parser function
		[9] = "Y",					-- precision: year
		[10] = "F Y",				-- precision: month
		[11] = function(ts) return mw.ustring.match(ts, "\-(%d+)T") == "01" and 'j"r" F Y' or "j F Y" end, -- precision: day
	},
	
	["years-old"] = {
		["singular"] = "($1)",		-- year old, or nominative singular for 3 plural forms
		["plural"] = "($1)",		-- years old, or genitive plural for 3 plural forms
		["paucal"] = "",			-- genitive singular for 3 plural forms
	},
	
	["cite"] = {					-- cite parameters
		["title"] = "title",
		["author"] = "author",
		["date"] = "date",
		["pages"] = "pages",
		["language"] = "language",
		-- cite web parameters
		["url"] = "url",
		["website"] = "website",
		["access-date"] = "access-date",
		["archive-url"] = "archive-url",
		["archive-date"] = "archive-date",
		["publisher"] = "publisher",
		["quote"] = "quote",
		-- cite journal parameters
		["work"] = "work",
		["issue"] = "issue",
		["issn"] = "issn",
		["doi"] = "doi"
	},
	
	-- local wiki settings
	["addpencil"] = true, -- adds a pencil icon linked to Wikidata statement, planned to overwrite by Wikidata Bridge
	["categorylabels"] = "Kategori:Halaman dengan label Wikidata belum diterjemahkan", -- void for no local category
	["addfallback"] = {'ms', 'jv', 'ext'} -- additional fallback language codes (default: en)
}

-- Functions for local grammatical cases
local cases = {
	-- local fixes
	["infoboxlabel"] = function(word) return require("Modul:Wikidata/labels").fixInfoboxLabel(word) end,
	["infoboxdata"] = function(word) return require("Modul:Wikidata/labels").fixInfoboxData(word) end,
	-- plurals with rules in Catalan
	-- ["plural"] = function(word, ...) if arg[1] == "ca" then return require("Module:ca-flexió").plural(word) end return word end,
	-- ordinal in Catalan, needs to be internationalised
	-- ["ordinal"] = function(number, ...) if arg[1] == "ca" then return require("Module:ca-flexió").ordinal(number, arg[2]) end return number end,
	-- naming locations in Catalan manual of style, ...=arg{}, arg[1]=lang, arg[2]=Qid (location), arg[3]=Qid (article, no anachronisms)
	-- ["location"] = function(label, ...) return require("Module:Location").naming(label, arg[2]) end,
	-- ["locationcontext"] = function(label, ...) return require("Module:Location").naming(label, arg[2], arg[3]) end,
}

return {
	i18n = i18n,
	cases = cases
}