First commit

This commit is contained in:
pezcurrel 2023-12-28 12:09:01 +01:00
parent bf46f1f424
commit 98d54a1782

11
web/lib/localemap.php Normal file
View file

@ -0,0 +1,11 @@
<?php
function localemap($loc) {
$map=[
//'be'=>'be_BY.UTF-8',
'it'=>'it_IT.UTF-8',
'en'=>'en_US.UTF-8'
];
if (array_key_exists($loc,$map)) return $map[$loc];
return $loc;
}
?>