Added and commented out “pt” and “pt_BR”

This commit is contained in:
pezcurrel 2023-12-29 10:32:45 +01:00
parent 0a9fb7e2ce
commit 93eba38b45

View file

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