<?php

ini_set('display_errors', 'on');
ini_set('log_errors', 'off');

header('Content-Type: text/plain; charset=utf-8;');

$locales = array(
	'en_GB',
	'zh_CN',
	'da_DK',
	'he_IL',
	'tr_TR',
	'de_DE',
	'ja_JP',
	'fr_FR',
	'el_GR',
	'es_ES',
	'ko_KR',
	'hi_IN',
	'ar_SA',
	'nl_NL',
	'pt_PT'
);

sort(&$locales);

foreach ($locales as $locale)
{
	setlocale(LC_TIME, $locale . '.UTF-8');
	//print "\n" . $locale . "\t" . mb_strtolower(strftime('%A'), 'UTF-8');
	print "\n" . $locale . "\t" . strftime('%A');
}
