Added and commented out “pt” and “pt_BR”
This commit is contained in:
parent
0a9fb7e2ce
commit
93eba38b45
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue