First commit
This commit is contained in:
parent
bf46f1f424
commit
98d54a1782
1 changed files with 11 additions and 0 deletions
11
web/lib/localemap.php
Normal file
11
web/lib/localemap.php
Normal 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;
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue