Jump to content

Module:Exchangerate/i18n

From Wikivoyage

Documentation for this module may be created at Module:Exchangerate/i18n/doc

local p = {}

p.defaultConversions = {'USD', 'GBP', 'CAD', 'AUD', 'EUR', 'NZD'}
-- currencies used by English-speaking countries
-- sorted by number of population of the English-speaking country the currency is used by

p.symbols = {
	-- taken from https://en.wikivoyage.org/w/index.php?title=Template:Exchange_rates&oldid=4412019
	-- with some adjustment, e.g. for CHF from talk page of country article recommendation
	AED = {shortSymbol = '%s dirham'},
	ALL = {shortSymbol = '%s lek'},
	ARS = {shortSymbol = 'AR$%s', uniqueSymbol = 'AR$%s'},
	AUD = {shortSymbol = '$%s', uniqueSymbol = 'AU$%s'},
	BAM = {shortSymbol = '%s KM'},
	BBD = {shortSymbol = 'B$%s'},
	BDT = {shortSymbol = 'Tk%s'},
	BGN = {shortSymbol = '%s лв'},
	BHD = {shortSymbol = 'BD%s'},
	BOB = {shortSymbol = 'Bs. %s'},
	BRL = {shortSymbol = 'R$%s'},
	BSD = {shortSymbol = '$%s'},
	BWP = {shortSymbol = 'P%s'},
	CAD = {shortSymbol = '$%s', uniqueSymbol = 'CA$%s'},
	CHF = {shortSymbol = 'Fr. %s', uniqueSymbol = 'Swiss Fr. %s'},
	CLP = {shortSymbol = '%s pesos'},
	CNY = {shortSymbol = '¥%s', uniqueSymbol = 'Chinese ¥%s'},
	COP = {shortSymbol = 'COP$%s'},
	CRC = {shortSymbol = '₡%s'},
	CUP = {shortSymbol = 'CUP%s'},
	CZK = {shortSymbol = '%s Kč'},
	DKK = {shortSymbol = '%s kr'},
	DOP = {shortSymbol = 'RD$%s'},
	DZD = {shortSymbol = 'DA%s'},
	EGP = {shortSymbol = 'LE%s'},
	EUR = {shortSymbol = '€%s', uniqueSymbol = '€%s'},
	FJD = {shortSymbol = '$%s'},
	GBP = {shortSymbol = '£%s', uniqueSymbol = 'UK£%s'},
	GEL = {shortSymbol = '₾%s'},
	GTQ = {shortSymbol = 'Q%s'},
	HKD = {shortSymbol = '$%s', uniqueSymbol = 'Hong Kong $%s'},
	HRK = {shortSymbol = '%s kn'},
	HUF = {shortSymbol = '%s Ft', uniqueSymbol = '%s Ft'},
	IDR = {shortSymbol = 'Rp%s'},
	ILS = {shortSymbol = '₪%s'},
	IQD = {shortSymbol = '%s dinars'},
	INR = {shortSymbol = '₹%s', uniqueSymbol = 'Indian ₹%s'},
	IRR = {shortSymbol = '%s rials'},
	ISK = {shortSymbol = 'kr %s'},
	JOD = {shortSymbol = '%s JD'},
	JMD = {shortSymbol = 'J$%s'},
	JPY = {shortSymbol = '¥%s', uniqueSymbol = 'Japanese ¥%s'},
	KES = {shortSymbol = 'Ksh %s'},
	KRW = {shortSymbol = '₩%s'},
	KWD = {shortSymbol = 'KD%s'},
	LBP = {shortSymbol = 'LL%s'},
	LKR = {shortSymbol = 'Rs %s'},
	LYD = {shortSymbol = 'LD%s'},
	MAD = {shortSymbol = '%s dirham'},
	MUR = {shortSymbol = 'Rs%s'},
	MXN = {shortSymbol = 'M$%s'},
	MYR = {shortSymbol = 'RM%s', uniqueSymbol = 'Malaysian RM%s'},
	NGN = {shortSymbol = '₦%s'},
	NOK = {shortSymbol = '%s kr'},
	NPR = {shortSymbol = 'रु%s', uniqueSymbol = 'Nepalese रु%s'},
	NZD = {shortSymbol = '$%s', uniqueSymbol = 'NZ$%s'},
	OMR = {shortSymbol = 'RO %s'},
	PEN = {shortSymbol = 'S/%s'},
	PHP = {shortSymbol = '₱%s'},
	PKR = {shortSymbol = 'Rs %s'},
	PLN = {shortSymbol = '%s zł'},
	PYG = {shortSymbol = 'GS.%s'},
	QAR = {shortSymbol = 'QR%s'},
	RON = {shortSymbol = '%s lei'},
	RUB = {shortSymbol = '%s руб'},
	SAR = {shortSymbol = 'SR%s'},
	SEK = {shortSymbol = '%s kr'},
	SGD = {shortSymbol = '$%s', uniqueSymbol = 'Singapore $%s'},
	THB = {shortSymbol = '%s baht', uniqueSymbol = 'Thai ฿%s'},
	TND = {shortSymbol = '%s DT'},
	TRY = {shortSymbol = '%s TL'},
	TTD = {shortSymbol = 'TT$%s'},
	TWD = {shortSymbol = 'NT$%s'},
	UAH = {shortSymbol = '%s грн'},
	USD = {shortSymbol = '$%s', uniqueSymbol = 'US$%s'},
	UYU = {shortSymbol = 'U$%s'},
	VND = {shortSymbol = '%s dong', uniqueSymbol = '%s Vietnamese dong'},
	XAF = {shortSymbol = 'FCFA%s'},
	XCD = {shortSymbol = 'EC$%s'},
	XOF = {shortSymbol = 'CFA%s'},
	XPF = {shortSymbol = '%s F'},
	ZAR = {shortSymbol = 'R%s', uniqueSymbol = 'South African R%s'},
	ZMW = {shortSymbol = 'ZK$%s'},
}

return p